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

Side by Side Diff: LayoutTests/perf/object-keys.html

Issue 51383002: Delete perf tests that are WontFixed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: try again Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/perf/mouse-event-expected.txt ('k') | LayoutTests/perf/object-keys-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script src="../resources/magnitude-perf.js"></script>
2 <script>
3 function setupFunction(magnitude)
4 {
5 obj = {};
6 for (var i = 0; i < magnitude; i++) {
7 obj[i] = i;
8 }
9 }
10
11 function test(magnitude)
12 {
13 Object.keys(obj);
14 }
15
16 Magnitude.description("Tests that Object.keys is linear.");
17 Magnitude.numTrials = 5; // pretty noisy
18 Magnitude.successThreshold = 0.40; // 2 out of 5
19 Magnitude.initialExponent = 9;
20 Magnitude.numPoints = 5;
21 Magnitude.tolerance = 0.25; // 5%-25% deviations not uncommon
22 Magnitude.trim = 1;
23 Magnitude.run(setupFunction, test, Magnitude.LINEAR);
24 </script>
OLDNEW
« no previous file with comments | « LayoutTests/perf/mouse-event-expected.txt ('k') | LayoutTests/perf/object-keys-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698