An open API service indexing awesome lists of open source software.

https://github.com/thoughtscript/object_vs_map_2025

Comparison Object vs. Map
https://github.com/thoughtscript/object_vs_map_2025

javascript map object

Last synced: 4 months ago
JSON representation

Comparison Object vs. Map

Awesome Lists containing this project

README

          

# object_vs_map_2025

```bash
MAP_SET_N_KEYS 500000 tests of key length 15 completed in 115
MAP_READ_N_KEYS 500000 tests of key length 15 completed in 3
MAP_SET_S_KEYS 500000 tests of key length 15 completed in 129
MAP_READ_S_KEYS 500000 tests of key length 15 completed in 2
MAP_READ_S_KEYS_ITER 500000 tests of key length 15 completed in 8
MAP_READ_N_KEYS_ITER 500000 tests of key length 15 completed in 8
MAP_JSON 500000 tests of key length 15 completed in 136
==========================================================
OBJ_SET_N_KEYS 500000 tests of key length 15 completed in 376
OBJ_READ_N_KEYS 500000 tests of key length 15 completed in 126
OBJ_SET_S_KEYS 500000 tests of key length 15 completed in 319
OBJ_READ_S_KEYS 500000 tests of key length 15 completed in 117
OBJ_JSON 500000 tests of key length 15 completed in 0
```

```bash
MAP_SET_N_KEYS 10000 tests of key length 10 completed in 1
MAP_READ_N_KEYS 10000 tests of key length 10 completed in 1
MAP_SET_S_KEYS 10000 tests of key length 10 completed in 1
MAP_READ_S_KEYS 10000 tests of key length 10 completed in 0
MAP_READ_S_KEYS_ITER 10000 tests of key length 10 completed in 1
MAP_READ_N_KEYS_ITER 10000 tests of key length 10 completed in 0
MAP_JSON 10000 tests of key length 10 completed in 4
==========================================================
OBJ_SET_N_KEYS 10000 tests of key length 10 completed in 3
OBJ_READ_N_KEYS 10000 tests of key length 10 completed in 2
OBJ_SET_S_KEYS 10000 tests of key length 10 completed in 5
OBJ_READ_S_KEYS 10000 tests of key length 10 completed in 1
OBJ_JSON 10000 tests of key length 10 completed in 0
```

```bash
MAP_SET_N_KEYS 400 tests of key length 10 completed in 0
MAP_READ_N_KEYS 400 tests of key length 10 completed in 0
MAP_SET_S_KEYS 400 tests of key length 10 completed in 0
MAP_READ_S_KEYS 400 tests of key length 10 completed in 0
MAP_READ_S_KEYS_ITER 400 tests of key length 10 completed in 0
MAP_READ_N_KEYS_ITER 400 tests of key length 10 completed in 0
MAP_JSON 400 tests of key length 10 completed in 0
==========================================================
OBJ_SET_N_KEYS 400 tests of key length 10 completed in 1
OBJ_READ_N_KEYS 400 tests of key length 10 completed in 0
OBJ_SET_S_KEYS 400 tests of key length 10 completed in 1
OBJ_READ_S_KEYS 400 tests of key length 10 completed in 0
OBJ_JSON 400 tests of key length 10 completed in 0
```