Reviewers: Dmitry Lomov (chromium), Michael Achenbach,
Message:
machenbach, are these new suite names OK? Do you know what will happen to
the
old data once the simple "Map" and "Set" names stop getting output by these
tests?
Description:
Add performance tests for Map/Set with String and Object keys
The big change here is to split out each key type into its own
benchmark suite, since optimizations for different key types
are likely to be disjoint. ForEach tests have also been split
into separate "Iteration" suites, again with the thought that
iteration performance is likely separable from key type.
As part of adding the new tests, rejiggered the existing tests:
- Map.set and Set.add (along with their Weak variants) no longer
include construction costs in their scores
- Moved key logic into the shared common.js
Please review this at https://codereview.chromium.org/685753004/
Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+188, -59 lines):
M test/js-perf-test/Collections/Collections.json
A test/js-perf-test/Collections/common.js
M test/js-perf-test/Collections/map.js
M test/js-perf-test/Collections/run.js
M test/js-perf-test/Collections/set.js
M test/js-perf-test/Collections/weakmap.js
M test/js-perf-test/Collections/weakset.js
--
--
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.