Bug 166659 - Rename the directory and the files of MotionMark from Animometer to MotionMark
Summary: Rename the directory and the files of MotionMark from Animometer to MotionMark
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Animations (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Said Abou-Hallawa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-03 13:46 PST by Said Abou-Hallawa
Modified: 2017-01-06 15:40 PST (History)
4 users (show)

See Also:


Attachments
Patch (4.60 MB, patch)
2017-01-03 14:10 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff
Patch (2.17 MB, patch)
2017-01-03 16:04 PST, Said Abou-Hallawa
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Said Abou-Hallawa 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.
Comment 1 Said Abou-Hallawa 2017-01-03 14:10:30 PST
Created attachment 297950 [details]
Patch
Comment 2 Jon Lee 2017-01-03 14:15:34 PST
Comment on attachment 297950 [details]
Patch

What about ./Tools/Scripts/webkitpy/benchmark_runner/data/plans/animometer.plan ?
Comment 3 Said Abou-Hallawa 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/
Comment 4 Said Abou-Hallawa 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.
Comment 5 Said Abou-Hallawa 2017-01-03 16:04:30 PST
Created attachment 297967 [details]
Patch
Comment 6 Said Abou-Hallawa 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.
Comment 7 Ryosuke Niwa 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.
Comment 8 Said Abou-Hallawa 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").
Comment 9 WebKit Commit Bot 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>
Comment 10 WebKit Commit Bot 2017-01-06 15:40:09 PST
All reviewed patches have been landed.  Closing bug.