Status: New
Owner: ----
New issue 4014 by [email protected]: ES6 Map performance issues
https://code.google.com/p/v8/issues/detail?id=4014
Looks like there are some unexpected performance characteristics for ES6
Maps. Some benchmark results show much worse performance than using regular
Object as a map.
Simple iteration of same length keys seem 8x slower (probably something is
wrong in the benchmark but I couldn't figure it out):
http://jsperf.com/gwt-es6-map-vs-object-properties/2
Calling set with random same length keys is 30% slower:
http://jsperf.com/put-es6-map-vs-object-properties
Calling set to replace existing same length keys is 15% slower:
http://jsperf.com/put-collide-es6-map-vs-object-properties
Very similar performance characteristics when looking for missing same
length keys:
http://jsperf.com/get-miss-es6-map-vs-object-properties
On the other hand, interestingly, following benchmark uses random length
strings that shows results in favor of Map:
http://jsperf.com/es6-map-vs-object-properties/10
Version: Chrome Version 41.0.2272.118 (64-bit)
OS: Linux
Architecture: x64
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.