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

Side by Side Diff: LayoutTests/perf/append-text-nodes-without-renderers.html

Issue 1149253002: Remove LayoutTests/perf and associated references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 months 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
OLDNEW
(Empty)
1 <html>
2 <body>
3 <script src="../resources/magnitude-perf.js"></script>
4 <script>
5 function setupFunction(magnitude)
6 {
7 }
8
9 function test(magnitude)
10 {
11 for (var i = 0; i < magnitude; i++) {
12 document.body.appendChild(document.createTextNode(' '));
13 document.body.appendChild(document.createElement('div'));
14 document.body.appendChild(document.createTextNode(' '));
15 }
16 document.body.innerHTML = "";
17 }
18
19 Magnitude.description("Tests that style recalculation time is linear when adding text nodes that do not have renderers. See https://bugs.webkit.org/show_bug.cgi ?id=110786");
20 Magnitude.initialExponent = 9;
21 Magnitude.numPoints = 7;
22 // Extremely noisy
23 Magnitude.numTrials = 5;
24 Magnitude.successThreshold = 0.20; // 1 out of 5
25 Magnitude.tolerance = 0.50;
26 Magnitude.trim = 2;
27 Magnitude.run(setupFunction, test, Magnitude.LINEAR);
28 </script>
29 </body>
30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698