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

Unified Diff: PerformanceTests/Bindings/event-target-wrapper.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/event-target-wrapper.html
diff --git a/PerformanceTests/Bindings/event-target-wrapper.html b/PerformanceTests/Bindings/event-target-wrapper.html
index 2deb132ae044ba0cae90d786a554b4610488139d..3701046c98822345e64438c818928615fdab1775 100644
--- a/PerformanceTests/Bindings/event-target-wrapper.html
+++ b/PerformanceTests/Bindings/event-target-wrapper.html
@@ -12,7 +12,9 @@ link.addEventListener('click', function(event) {
window.evt = event;
event.preventDefault();
- PerfTestRunner.measureRunsPerSecond({run: function () {
+ PerfTestRunner.measureRunsPerSecond({
+ description: "Measures performance of repeatedly accessing the event object within an event handler.",
+ run: function () {
var e = window.evt;
for (var x = 0; x < kIteratonsPerTest; x++)
e.target;
« no previous file with comments | « PerformanceTests/Animation/overlay-background-color-transitions.html ('k') | PerformanceTests/Bindings/gc-forest.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698