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

Side by Side Diff: PerformanceTests/Bindings/gc-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: alancutter nits Created 6 years, 2 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 inside a div , releasing references, then running the garbage collector.",
7 var root = document.createElement("div"); 7 run: function() {
8 for (var i = 0; i < 1000000; i++) 8 (function() {
9 root.appendChild(document.createElement("div")); 9 var root = document.createElement("div");
10 })(); 10 for (var i = 0; i < 1000000; i++)
11 PerfTestRunner.gc(); 11 root.appendChild(document.createElement("div"));
12 }}); 12 })();
13 PerfTestRunner.gc();
14 }
15 });
13 </script> 16 </script>
14 </body> 17 </body>
OLDNEW
« no previous file with comments | « PerformanceTests/Bindings/gc-mini-tree.html ('k') | PerformanceTests/Bindings/typed-array-construct-from-array.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698