Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Issue 685753004: Add performance tests for Map/Set with String and Object keys (Closed)

Created:
6 years, 1 month ago by adamk
Modified:
6 years, 1 month ago
CC:
v8-dev, rossberg, arv (Not doing code reviews)
Project:
v8
Visibility:
Public.

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 R=arv@chromium.org, machenbach@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24969

Patch Set 1 #

Total comments: 1

Patch Set 2 : Address dslomov comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -65 lines) Patch
M test/js-perf-test/Collections/Collections.json View 1 chunk +8 lines, -3 lines 0 comments Download
A test/js-perf-test/Collections/common.js View 1 chunk +31 lines, -0 lines 0 comments Download
M test/js-perf-test/Collections/map.js View 1 2 chunks +158 lines, -22 lines 0 comments Download
M test/js-perf-test/Collections/run.js View 1 chunk +1 line, -0 lines 0 comments Download
M test/js-perf-test/Collections/set.js View 1 1 chunk +124 lines, -18 lines 0 comments Download
M test/js-perf-test/Collections/weakmap.js View 3 chunks +10 lines, -11 lines 0 comments Download
M test/js-perf-test/Collections/weakset.js View 3 chunks +10 lines, -11 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
adamk
machenbach, are these new suite names OK? Do you know what will happen to the ...
6 years, 1 month ago (2014-10-28 16:56:33 UTC) #2
arv (Not doing code reviews)
Logic LGTM
6 years, 1 month ago (2014-10-28 18:02:06 UTC) #4
Michael Achenbach
Infra LGTM
6 years, 1 month ago (2014-10-29 08:20:54 UTC) #5
Dmitry Lomov (no reviews)
https://codereview.chromium.org/685753004/diff/1/test/js-perf-test/Collections/map.js File test/js-perf-test/Collections/map.js (right): https://codereview.chromium.org/685753004/diff/1/test/js-perf-test/Collections/map.js#newcode7 test/js-perf-test/Collections/map.js:7: new Benchmark('Set', false, false, 0, MapSet, MapSetupSmiBase, MapTearDown), In ...
6 years, 1 month ago (2014-10-29 10:02:25 UTC) #6
adamk
On 2014/10/29 at 10:02:25, dslomov wrote: > https://codereview.chromium.org/685753004/diff/1/test/js-perf-test/Collections/map.js > File test/js-perf-test/Collections/map.js (right): > > https://codereview.chromium.org/685753004/diff/1/test/js-perf-test/Collections/map.js#newcode7 ...
6 years, 1 month ago (2014-10-29 10:17:31 UTC) #7
adamk
Committed patchset #2 (id:20001) manually as 24969 (presubmit successful).
6 years, 1 month ago (2014-10-29 10:18:49 UTC) #8
Dmitry Lomov (no reviews)
6 years, 1 month ago (2014-10-29 11:09:52 UTC) #9
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698