immutable vs Native Javascript Map With Read
immutable vs Native Javascript Map With Read
2 months ago
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Test name |
Executions per second |
immutable Map |
1750.8 Ops/sec |
Native Javascript Map |
819.5 Ops/sec |
Read immutable Map |
1058.9 Ops/sec |
Read Native Javascript Map |
624.4 Ops/sec |
Tests:
-
immutable Map
-
Native Javascript Map
-
Read immutable Map
-
Read Native Javascript Map
Open this result on MeasureThat.net