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;