Remove unused features and reduce code duplications in PerfTestRunner
Created attachment 166132 [details] Patch
Comment on attachment 166132 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166132&action=review > PerformanceTests/ChangeLog:9 > + - Remove PerfTestRunner.log since it's never used. Nit: PerfTestRunner.info? > PerformanceTests/resources/runner.js:190 > + return returnValue; > + } > > - var mallocMemoryStats = PerfTestRunner.computeStatistics([PerfTestRunner.getUsedMallocHeap()], "bytes"); > - PerfTestRunner.printStatistics(mallocMemoryStats, "Malloc:"); > + return end - start; Is this correct? This function sometimes returns returnValue and sometimes returns end-start.
Comment on attachment 166132 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=166132&action=review >> PerformanceTests/ChangeLog:9 >> + - Remove PerfTestRunner.log since it's never used. > > Nit: PerfTestRunner.info? Right. >> PerformanceTests/resources/runner.js:190 >> + return end - start; > > Is this correct? This function sometimes returns returnValue and sometimes returns end-start. Yes. When test.run returns a number, we use that value instead (see dom-perf.js for example).
Created attachment 166136 [details] Fixed a typo in ChangeLog
Comment on attachment 166136 [details] Fixed a typo in ChangeLog Looks OK
Landed in http://trac.webkit.org/changeset/129847 and http://trac.webkit.org/changeset/129858.