WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
144487
Update speedometer patch to provide better UI and fix merge result bug.
https://bugs.webkit.org/show_bug.cgi?id=144487
Summary
Update speedometer patch to provide better UI and fix merge result bug.
dewei_zhu
Reported
2015-04-30 20:14:52 PDT
Update speedometer patch to provide better UI and fix merge result bug.
Attachments
Patch
(7.32 KB, patch)
2015-04-30 20:17 PDT
,
dewei_zhu
no flags
Details
Formatted Diff
Diff
Patch
(7.20 KB, patch)
2015-05-01 00:36 PDT
,
dewei_zhu
no flags
Details
Formatted Diff
Diff
Patch
(8.03 KB, patch)
2015-05-01 01:46 PDT
,
dewei_zhu
no flags
Details
Formatted Diff
Diff
Patch
(8.06 KB, patch)
2015-05-01 02:00 PDT
,
dewei_zhu
no flags
Details
Formatted Diff
Diff
Patch
(8.06 KB, patch)
2015-05-01 15:14 PDT
,
dewei_zhu
rniwa
: review-
rniwa
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
dewei_zhu
Comment 1
2015-04-30 20:17:13 PDT
Created
attachment 252132
[details]
Patch
Ryosuke Niwa
Comment 2
2015-04-30 20:28:55 PDT
Comment on
attachment 252132
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252132&action=review
> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:80 > ++ var enabledSuites = Suites.filter(function (suite) { return !suite.disabled }); > ++ var values = timeValues.map(function (time) { return 60 * 1000 * enabledSuites.length / time});
Alternatively, we can just use measuredValues.length. That's probably better here.
> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:104 > ++ console.log(results);
Superflous logging.
> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:116 > -+ > ++
What's up with this change?
> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:120 > -+ > ++
Ditto.
dewei_zhu
Comment 3
2015-05-01 00:36:12 PDT
Created
attachment 252136
[details]
Patch
dewei_zhu
Comment 4
2015-05-01 00:43:58 PDT
Comment on
attachment 252132
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252132&action=review
>> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:116 >> ++ > > What's up with this change?
Delete unnecessary space for blank line.
Ryosuke Niwa
Comment 5
2015-05-01 01:01:49 PDT
Comment on
attachment 252136
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252136&action=review
> Tools/Scripts/webkitpy/benchmark_runner/data/patches/Speedometer.patch:80 > ++ var values = timeValues.map(function (time) { return 60 * 1000 * enabledSuites.length / time});
I really don't think we should be duplicating the logic to compute the score in this file. Please modify Performance/Speedometer/resources/main.js to expose this function as a global function and use it here.
dewei_zhu
Comment 6
2015-05-01 01:46:20 PDT
Created
attachment 252140
[details]
Patch
dewei_zhu
Comment 7
2015-05-01 02:00:06 PDT
Created
attachment 252142
[details]
Patch
WebKit Commit Bot
Comment 8
2015-05-01 12:43:51 PDT
Comment on
attachment 252142
[details]
Patch Clearing flags on attachment: 252142 Committed
r183685
: <
http://trac.webkit.org/changeset/183685
>
WebKit Commit Bot
Comment 9
2015-05-01 12:43:55 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 10
2015-05-01 14:50:29 PDT
Comment on
attachment 252142
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252142&action=review
> PerformanceTests/Speedometer/resources/main.js:55 > + return computerScore(time);
this says computerScore
> PerformanceTests/Speedometer/resources/main.js:161 > +function computeScore(time) {
this says computeScore Since they don’t match, does this work? How did we test?
dewei_zhu
Comment 11
2015-05-01 15:08:25 PDT
Comment on
attachment 252142
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=252142&action=review
>> PerformanceTests/Speedometer/resources/main.js:161 >> +function computeScore(time) { > > this says computeScore > > Since they don’t match, does this work? How did we test?
Sorry for the typo. I should have tested for both automatic test as well as manual test. Since automatic test will override the benchmarkClient, this error is not trigger. Sorry again. I will fix it immediately.
dewei_zhu
Comment 12
2015-05-01 15:14:32 PDT
Reopening to attach new patch.
dewei_zhu
Comment 13
2015-05-01 15:14:34 PDT
Created
attachment 252173
[details]
Patch
Ryosuke Niwa
Comment 14
2015-05-01 15:15:28 PDT
Comment on
attachment 252173
[details]
Patch This patch can't be applied because the previous patch has already been landed. Please rebase your patch against ToT.
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