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

Unified Diff: PerformanceTests/Canvas/drawimage-not-pixelaligned.html

Issue 478003002: Fill in descriptions on relevant blink_perf tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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-not-pixelaligned.html
diff --git a/PerformanceTests/Canvas/drawimage-not-pixelaligned.html b/PerformanceTests/Canvas/drawimage-not-pixelaligned.html
index 277d8dec0a956de80245264779c5bec8f0c8db23..30150dd0b21a2816d36296d760e82dc1209da117 100644
--- a/PerformanceTests/Canvas/drawimage-not-pixelaligned.html
+++ b/PerformanceTests/Canvas/drawimage-not-pixelaligned.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, 10.5, 10.5, 200, 200);
-}});
+PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of drawing an image onto a canvas that is not pixel aligned.",
+ run: function() {
+ context.drawImage(source, 10.5, 10.5, 200, 200);
+ }
+});
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698