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

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

Issue 1866083003: [Binding][Performance] Add performance tests for serialization in BlinkBinding (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/PerformanceTests/Bindings/serialize-map.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <script src="../resources/runner.js"></script>
4 <script>
5
6 var length = 10000;
7 var obj = [];
8 for (var i = 0; i < length; i++)
9 obj = [obj];
10 var worker = new Worker('resources/worker.js');
11 worker.onmessage = function(event) {
12 console.log("received");
13 };
14
15 PerfTestRunner.measureTime({
16 description: "Measures performance of serializing a long chaining nested arr ay.",
17 run: function() {
18 worker.postMessage(obj);
19 }
20 });
21 </script>
22 </body>
OLDNEW
« no previous file with comments | « third_party/WebKit/PerformanceTests/Bindings/serialize-map.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698