Bug 97743

Summary: PerfTestRunner.run should take an object
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Tools / TestsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: eric, haraken, jchaffraix, kling, koivisto, morrita, ojan, ossy, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 97741    
Bug Blocks: 97833    
Attachments:
Description Flags
work in progress
none
Cleanup haraken: review+

Ryosuke Niwa
Reported 2012-09-26 17:18:30 PDT
PerfTestRunner.run takes 5 arguments but the semantics of each argument is not obvious on call sites. We should change that to take an object instead so that the semantics of each argument, or rather property, is obvious on call sites.
Attachments
work in progress (11.42 KB, patch)
2012-09-26 17:20 PDT, Ryosuke Niwa
no flags
Cleanup (13.47 KB, patch)
2012-09-27 17:20 PDT, Ryosuke Niwa
haraken: review+
Ryosuke Niwa
Comment 1 2012-09-26 17:20:22 PDT
Created attachment 165903 [details] work in progress
Ryosuke Niwa
Comment 2 2012-09-27 17:20:25 PDT
Kentaro Hara
Comment 3 2012-09-27 17:24:19 PDT
Comment on attachment 166101 [details] Cleanup Looks OK
Ryosuke Niwa
Comment 4 2012-09-27 17:24:48 PDT
Wow! That was quick. Thanks. Will land.
Ryosuke Niwa
Comment 5 2012-09-27 17:25:48 PDT
Csaba Osztrogonác
Comment 6 2012-09-28 00:01:27 PDT
(In reply to comment #5) > Committed r129824: <http://trac.webkit.org/changeset/129824> FYI: It broke the perf test bots - http://build.webkit.org/builders/Qt%20Linux%2064-bit%20Release%20%28Perf%29/builds/5182 I really can't understand why do you always commit without checking locally ... and wait until I notice the regression and ask you to fix it ...
Ryosuke Niwa
Comment 7 2012-09-28 00:14:20 PDT
(In reply to comment #6) > (In reply to comment #5) > > Committed r129824: <http://trac.webkit.org/changeset/129824> > > FYI: It broke the perf test bots - http://build.webkit.org/builders/Qt%20Linux%2064-bit%20Release%20%28Perf%29/builds/5182 > > I really can't understand why do you always commit without checking locally ... > and wait until I notice the regression and ask you to fix it ... I don't do that. The fix had been landed in http://trac.webkit.org/changeset/129848.
Ryosuke Niwa
Comment 8 2012-09-28 00:25:59 PDT
Keeping bots green should be a method by which we improve WebKit, not itself a goal. Also, this whole performance-tests-in-WebKit is still under development. We can't treat it like other matured automated test infrastructure we have like layout tests and unit tests. If perf. bots turning red is too distracting, I suggest disconnecting slaves for now.
Note You need to log in before you can comment on or make changes to this bug.