RESOLVED FIXED186293
run-testmem should have a dry run option and an option to parse the stdout of executing the dry run
https://bugs.webkit.org/show_bug.cgi?id=186293
Summary run-testmem should have a dry run option and an option to parse the stdout of...
Saam Barati
Reported 2018-06-04 17:20:29 PDT
So it can create a bunch of commands for me and I can run it on a device that doesn't have a ruby
Attachments
patch (8.51 KB, patch)
2018-06-05 11:00 PDT, Saam Barati
mark.lam: review+
patch (8.51 KB, patch)
2018-06-05 11:08 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2018-06-05 11:00:04 PDT
Joseph Pecoraro
Comment 2 2018-06-05 11:06:08 PDT
Comment on attachment 341976 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=341976&action=review > Tools/Scripts/run-testmem:40 > + puts "--parse (-p) After executing the dry run, capture its stdout and write it to a file. Pass the path to that file for this option and run-testmem will compute the results of the benchmark run." > + puts "--help (-h) print this message" Some of these start with a capital and end in a period, some don't. Should be consistent. > Tools/Scripts/run-testmem:261 > + Nit: drop empty line
Saam Barati
Comment 3 2018-06-05 11:08:07 PDT
Saam Barati
Comment 4 2018-06-05 11:08:28 PDT
(In reply to Saam Barati from comment #3) > Created attachment 341978 [details] > patch Addressed Joe's comments.
Mark Lam
Comment 5 2018-06-05 11:18:20 PDT
Comment on attachment 341976 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=341976&action=review r=me with fixes. > Tools/Scripts/run-testmem:138 > filePath = dirPath.join(filename).to_s > + filePath = Pathname.new($scriptPath).join(filename).to_s if $scriptPath I think line 137 is unnecessary now.
Mark Lam
Comment 6 2018-06-05 11:24:42 PDT
Comment on attachment 341976 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=341976&action=review >> Tools/Scripts/run-testmem:138 >> + filePath = Pathname.new($scriptPath).join(filename).to_s if $scriptPath > > I think line 137 is unnecessary now. Oops, never mind. I missed the "if $scriptPath". Line 137 is necessary.
WebKit Commit Bot
Comment 7 2018-06-05 11:54:17 PDT
Comment on attachment 341978 [details] patch Clearing flags on attachment: 341978 Committed r232517: <https://trac.webkit.org/changeset/232517>
WebKit Commit Bot
Comment 8 2018-06-05 11:54:18 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 9 2018-06-05 12:00:38 PDT
Note You need to log in before you can comment on or make changes to this bug.