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

Unified Diff: PerformanceTests/Bindings/typed-array-construct-from-same-type.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 side-by-side diff with in-line comments
Download patch
Index: PerformanceTests/Bindings/typed-array-construct-from-same-type.html
diff --git a/PerformanceTests/Bindings/typed-array-construct-from-same-type.html b/PerformanceTests/Bindings/typed-array-construct-from-same-type.html
index 9b90799b6ea7ce207375c77decf78e440b5caed2..60b2042f28a006146dd05979a3a61c73e57042f9 100644
--- a/PerformanceTests/Bindings/typed-array-construct-from-same-type.html
+++ b/PerformanceTests/Bindings/typed-array-construct-from-same-type.html
@@ -8,8 +8,11 @@ var source = new Uint8Array(length);
for (var i = 0; i < length; i++)
source[i] = i;
-PerfTestRunner.measureRunsPerSecond({run: function() {
- var target = new Uint8Array(source);
-}});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of creating a Uint8Array from an existing Uint8Array.",
+ run: function() {
+ var target = new Uint8Array(source);
+ }
+});
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698