WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Formatted Diff
Diff
Performance tests results for 155706
(6.49 KB, text/html)
2012-08-07 18:18 PDT
,
Ryosuke Niwa
no flags
Details
Performance tests results for 155706
(6.49 KB, text/html)
2012-08-07 18:45 PDT
,
Ryosuke Niwa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2012-07-31 19:51:07 PDT
Created
attachment 155706
[details]
Patch
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
Csaba Osztrogonác
Comment 9
2012-09-14 03:41:42 PDT
(In reply to
comment #8
)
> Re-opened since this is blocked by 96747
rolled out by
http://trac.webkit.org/changeset/128579
, because it broke perf tests on Chromium and on Qt: -
http://build.webkit.org/builders/Qt%20Linux%2064-bit%20Release%20%28WebKit2%20Perf%29/builds/4036/steps/perf-test/logs/stdio
-
http://build.webkit.org/builders/Chromium%20Win%20Release%20%28Perf%29/builds/3430/steps/perf-test/logs/stdio
- ....
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
Committed
r128649
: <
http://trac.webkit.org/changeset/128649
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug