RESOLVED FIXED 166659
Rename the directory and the files of MotionMark from Animometer to MotionMark
https://bugs.webkit.org/show_bug.cgi?id=166659
Summary Rename the directory and the files of MotionMark from Animometer to MotionMark
Said Abou-Hallawa
Reported 2017-01-03 13:46:37 PST
After renaming the graphics benchmark from Animometer to MotionMark, we need to change the directory and all the files whose names are Animometer as well.
Attachments
Patch (4.60 MB, patch)
2017-01-03 14:10 PST, Said Abou-Hallawa
no flags
Patch (2.17 MB, patch)
2017-01-03 16:04 PST, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2017-01-03 14:10:30 PST
Jon Lee
Comment 2 2017-01-03 14:15:34 PST
Comment on attachment 297950 [details] Patch What about ./Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan ?
Said Abou-Hallawa
Comment 3 2017-01-03 14:21:01 PST
webkit-patch gave a lot of errors before creating the patch and uploading it. But it did create the patch at the end. I am not sure whether this patch can be applied to the webkit repository or not. Everything seems normal when asking "svn stat" from the command line. I used: svn move PerformanceTests/Animometer/resources/debug-runner/animometer.css PerformanceTests/Animometer/resources/debug-runner/motionmark.css svn move PerformanceTests/Animometer/resources/debug-runner/animometer.js PerformanceTests/Animometer/resources/debug-runner/motionmark.js svn move PerformanceTests/Animometer/resources/runner/animometer.css PerformanceTests/Animometer/resources/runner/motionmark.css svn move PerformanceTests/Animometer/resources/runner/animometer.js PerformanceTests/Animometer/resources/runner/motionmark.js svn move PerformanceTests/Animometer/ PerformanceTests/MotionMark/
Said Abou-Hallawa
Comment 4 2017-01-03 14:21:55 PST
(In reply to comment #2) > Comment on attachment 297950 [details] > Patch > > What about > ./Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan ? Okay I will change it.
Said Abou-Hallawa
Comment 5 2017-01-03 16:04:30 PST
Said Abou-Hallawa
Comment 6 2017-01-03 16:14:27 PST
(In reply to comment #4) > (In reply to comment #2) > > Comment on attachment 297950 [details] > > Patch > > > > What about > > ./Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan ? > > Okay I will change it. Actually I think I have to wait until this patch landed and then change the plan and the patch files. The plan includes an revision number and a patch file which will be applied on top of this revision to allow running benchmark_runner. So we have to wait until there is a directory called https://svn.webkit.org/repository/webkit/trunk/PerformanceTests/MotionMark in the webkit repository and then create a patch file called "data/patches/MotionMark.patch". This means benchmark_runner may not be able to run either Animometer or MotionMark temporarily till the new plan and patch are landed. But this should not take that long. Alternatively we can make a new copy of Animometer to MotionMark in one patch. Add the MotionMark plans and patch in a second patch. Finally delete the Animometer diretcory and the plan and the patch files in a third patch. The downside of this solution is we are going to lose the history for the Animometer.
Ryosuke Niwa
Comment 7 2017-01-03 16:54:12 PST
We need to first move the directory, and then create a plan file. Regardless, we need update the bot configuration in addition to those changes in order for any change to take effect.
Said Abou-Hallawa
Comment 8 2017-01-06 14:43:17 PST
To make easy for reviewing this patch, here are the steps I made to made this patch: git mv PerformanceTests/Animometer/resources/debug-runner/animometer.css PerformanceTests/MotionMark/resources/debug-runner/motionmark.css git mv PerformanceTests/Animometer/resources/debug-runner/animometer.js PerformanceTests/MotionMark/resources/debug-runner/motionmark.js git mv PerformanceTests/Animometer/resources/runner/animometer.css PerformanceTests/MotionMark/resources/runner/motionmark.css git mv PerformanceTests/Animometer/resources/runner/animometer.js PerformanceTests/MotionMark/resources/runner/motionmark.js git mv PerformanceTests/Animometer/ PerformanceTests/MotionMark/ Then I modified PerformanceTests/MotionMark/developer.html and PerformanceTests/MotionMark/index.html and replaced all "animometer.*" by "motionmark.*". I also modified PerformanceTests/MotionMark/resources/runner/tests.js by replacing (Suites.push(new Suite("Animometer") by (Suites.push(new Suite("MotionMark").
WebKit Commit Bot
Comment 9 2017-01-06 15:40:02 PST
Comment on attachment 297967 [details] Patch Clearing flags on attachment: 297967 Committed r210459: <http://trac.webkit.org/changeset/210459>
WebKit Commit Bot
Comment 10 2017-01-06 15:40:09 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.