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
- Host: GitHub
- URL: https://github.com/thoughtscript/object_vs_map_2025
- Owner: Thoughtscript
- Created: 2025-08-08T23:11:13.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T01:53:37.000Z (6 months ago)
- Last Synced: 2025-08-09T03:22:23.079Z (6 months ago)
- Topics: javascript, map, object
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```