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

Side by Side Diff: PerformanceTests/Bindings/gc-mini-tree.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../resources/runner.js"></script> 3 <script src="../resources/runner.js"></script>
4 <script> 4 <script>
5 PerfTestRunner.measureTime({run: function() { 5 PerfTestRunner.measureTime({
6 (function() { 6 description: "Measures performance of creating one million divs that contain spans without retaining references, then running the garbage collector.",
tonyg 2014/10/06 19:42:14 s/one million/a half million/
7 for (var i = 0; i < 500000; i++) 7 run: function() {
8 document.createElement("div").appendChild(document.createElement("sp an")); 8 (function() {
9 })(); 9 for (var i = 0; i < 500000; i++)
10 PerfTestRunner.gc(); 10 document.createElement("div").appendChild(document.createElement(" span"));
11 }}); 11 })();
12 PerfTestRunner.gc();
13 }
14 });
12 </script> 15 </script>
13 </body> 16 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698