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

Unified Diff: PerformanceTests/Canvas/drawimage.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/Canvas/drawimage.html
diff --git a/PerformanceTests/Canvas/drawimage.html b/PerformanceTests/Canvas/drawimage.html
index c9d44920e99385a44f6e12afa3895a2e0ff5659a..8cafd02d0e52c1e02978a39e28811e026426f320 100644
--- a/PerformanceTests/Canvas/drawimage.html
+++ b/PerformanceTests/Canvas/drawimage.html
@@ -15,9 +15,12 @@ target.width = source.width;
target.height = source.height;
var context = target.getContext("2d")
-PerfTestRunner.measureRunsPerSecond({run: function() {
- context.drawImage(source, 0, 0);
-}});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of drawing an image onto a canvas.",
+ run: function() {
+ context.drawImage(source, 0, 0);
+ }
+});
</script>
</body>
</html>
« no previous file with comments | « PerformanceTests/CSS/StyleSheetInsert-bootstrap.html ('k') | PerformanceTests/Canvas/drawimage-not-pixelaligned.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698