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

Side by Side Diff: third_party/WebKit/PerformanceTests/Bindings/serialize-nested-array.html

Issue 2553993002: binding: Re-enables blink_perf.bindings on all platforms. (Closed)
Patch Set: Reduced the nest level according to https://crrev.com/2517813002 Created 3 years, 12 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
« no previous file with comments | « no previous file | tools/perf/benchmarks/blink_perf.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5
6 var length = 10000; 6 var length = 1000;
7 var obj = []; 7 var obj = [];
8 for (var i = 0; i < length; i++) 8 for (var i = 0; i < length; i++)
9 obj = [obj]; 9 obj = [obj];
10 var worker = new Worker('resources/worker.js'); 10 var worker = new Worker('resources/worker.js');
11 worker.onmessage = function(event) { 11 worker.onmessage = function(event) {
12 console.log("received"); 12 console.log("received");
13 }; 13 };
14 14
15 PerfTestRunner.measureTime({ 15 PerfTestRunner.measureTime({
16 description: "Measures performance of serializing a long chaining nested arr ay.", 16 description: "Measures performance of serializing a long chaining nested arr ay.",
17 run: function() { 17 run: function() {
18 worker.postMessage(obj); 18 worker.postMessage(obj);
19 } 19 }
20 }); 20 });
21 </script> 21 </script>
22 </body> 22 </body>
OLDNEW
« no previous file with comments | « no previous file | tools/perf/benchmarks/blink_perf.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698