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

Side by Side Diff: PerformanceTests/Bindings/typed-array-set-from-typed.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 5
6 var length = 1000000; 6 var length = 1000000;
7 var source = new Uint8Array(length); 7 var source = new Uint8Array(length);
8 for (var i = 0; i < length; i++) 8 for (var i = 0; i < length; i++)
9 source[i] = i; 9 source[i] = i;
10 var target = new Float64Array(length); 10 var target = new Float64Array(length);
11 11
12 PerfTestRunner.measureRunsPerSecond({run: function() { 12 PerfTestRunner.measureRunsPerSecond({
13 target.set(source); 13 description: "Measures performance of setting a Float64Array to a Uint8Array using Float64Array.prototype.set.",
14 }}); 14 run: function() {
15 target.set(source);
16 }
17 });
15 </script> 18 </script>
16 </body> 19 </body>
17
OLDNEW
« no previous file with comments | « PerformanceTests/Bindings/typed-array-construct-from-typed.html ('k') | PerformanceTests/CSS/AttributeDescendantSelector.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698