RESOLVED FIXED 92826
Use performance.webkitNow in PerfTestRunner
https://bugs.webkit.org/show_bug.cgi?id=92826
Summary Use performance.webkitNow in PerfTestRunner
Ryosuke Niwa
Reported 2012-07-31 19:48:11 PDT
Use performance.webkitNow in PerfTestRunner
Attachments
Patch (2.21 KB, patch)
2012-07-31 19:51 PDT, Ryosuke Niwa
no flags
Performance tests results for 155706 (6.49 KB, text/html)
2012-08-07 18:18 PDT, Ryosuke Niwa
no flags
Performance tests results for 155706 (6.49 KB, text/html)
2012-08-07 18:45 PDT, Ryosuke Niwa
no flags
Ryosuke Niwa
Comment 1 2012-07-31 19:51:07 PDT
Zoltan Horvath
Comment 2 2012-08-01 00:54:26 PDT
Comment on attachment 155706 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=155706&action=review It looks okay, just 1 nit: > PerformanceTests/ChangeLog:8 > + Use performance.webkitNow with Date.now as a fallback for more acurate time measurements. accurate
Eric Seidel (no email)
Comment 3 2012-08-07 15:37:27 PDT
Comment on attachment 155706 [details] Patch OK.
Ryosuke Niwa
Comment 4 2012-08-07 18:18:31 PDT
Created attachment 157069 [details] Performance tests results for 155706
Ryosuke Niwa
Comment 5 2012-08-07 18:45:43 PDT
Created attachment 157080 [details] Performance tests results for 155706
WebKit Review Bot
Comment 6 2012-09-14 00:03:05 PDT
Comment on attachment 155706 [details] Patch Clearing flags on attachment: 155706 Committed r128562: <http://trac.webkit.org/changeset/128562>
WebKit Review Bot
Comment 7 2012-09-14 00:03:09 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 8 2012-09-14 03:18:27 PDT
Re-opened since this is blocked by 96747
Ryosuke Niwa
Comment 10 2012-09-14 08:41:06 PDT
WTF... that makes no effing sense what so ever. Since this is a non-critical bug, I'm not gonna fix it now. I'm too annoyed.
Taiju Tsuiki
Comment 11 2012-09-14 09:50:07 PDT
Comment on attachment 155706 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=155706&action=review > PerformanceTests/resources/runner.js:26 > +PerfTestRunner.now = window.performance && window.performance.webkitNow ? window.performance.webkitNow : Date.now; window.performance.webkitNow seems not to work without window.performance as this. How about using function() { return performance.webkitNow(); } instead?
Ryosuke Niwa
Comment 12 2012-09-14 10:08:42 PDT
(In reply to comment #11) > > window.performance.webkitNow seems not to work without window.performance as this. > How about using function() { return performance.webkitNow(); } instead? Ah, I see. Thanks for pointing that out. It's very annoying that this function requires this to be window.performance. I guess that's expected as I get the same error on Firefox. It's not clear why I wasn't getting the same error previously.
Ryosuke Niwa
Comment 13 2012-09-14 13:50:40 PDT
Note You need to log in before you can comment on or make changes to this bug.