Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Immutable.JS get vs object access
(version: 0)
Comparing performance of:
Object property access vs ImmutableJS get
Created:
3 years ago
by:
Registered User
Jump to the latest result
HTML Preparation code:
<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.8.2/immutable.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/immutability-helper@2.7.0/index.min.js"></script>
Script Preparation code:
window.obj = {} window.objImmutable = Immutable.Map(); for(i=0;i<100;i++){ const key = 'key'+i const value = 'value'+i window.obj[key] = value; window.objImmutable.set(key, value); }
Tests:
Object property access
for(i=0;i<100;i++){ const key = 'key'+i window.obj[key] }
ImmutableJS get
for(i=0;i<100;i++){ const key = 'key'+i window.objImmutable.get(key); }
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Object property access
ImmutableJS get
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
immutable vs Native Javascript Map With Read
immutable vs Native Javascript Map With Read Complex
immutable vs Native Javascript Map With Read Complex With Count
immutable vs Native Javascript Map With Read Complex With Count New
Comments
Confirm delete:
Do you really want to delete benchmark?