Title: [227863] trunk/PerformanceTests
- Revision
- 227863
- Author
- [email protected]
- Date
- 2018-01-30 16:31:49 -0800 (Tue, 30 Jan 2018)
Log Message
StyleBench: Generate more mutation steps
https://bugs.webkit.org/show_bug.cgi?id=182291
Rubber-stamped by Antti Koivisto
Use zero-based index instead of one-based index.
* StyleBench/resources/tests.js:
(makeSteps):
Modified Paths
Diff
Modified: trunk/PerformanceTests/ChangeLog (227862 => 227863)
--- trunk/PerformanceTests/ChangeLog 2018-01-31 00:08:44 UTC (rev 227862)
+++ trunk/PerformanceTests/ChangeLog 2018-01-31 00:31:49 UTC (rev 227863)
@@ -1,3 +1,15 @@
+2018-01-30 Ryosuke Niwa <[email protected]>
+
+ StyleBench: Generate more mutation steps
+ https://bugs.webkit.org/show_bug.cgi?id=182291
+
+ Rubber-stamped by Antti Koivisto
+
+ Use zero-based index instead of one-based index.
+
+ * StyleBench/resources/tests.js:
+ (makeSteps):
+
2018-01-30 Antti Koivisto <[email protected]>
StyleBench: Generate more mutation steps
Modified: trunk/PerformanceTests/StyleBench/resources/tests.js (227862 => 227863)
--- trunk/PerformanceTests/StyleBench/resources/tests.js 2018-01-31 00:08:44 UTC (rev 227862)
+++ trunk/PerformanceTests/StyleBench/resources/tests.js 2018-01-31 00:31:49 UTC (rev 227863)
@@ -1,7 +1,7 @@
function makeSteps(count)
{
const steps = [];
- for (i = 1; i <= count; ++i) {
+ for (i = 0; i < count; ++i) {
steps.push(new BenchmarkTestStep(`Adding classes - ${i}`, (bench, contentWindow, contentDocument) => {
bench.addClasses(25);
}));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes