StyleBench: Separate test for :nth pseudo classes
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jan 2018 20:18:34 +0000 (20:18 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 22 Jan 2018 20:18:34 +0000 (20:18 +0000)
commitaea6024e801e8021be570785344c03ece853e56a
tree2a013b129e22dc48f9f21a81e80b6fb3511c5657
parent889c625f769e4ce222062877b3f97066ff6535b8
StyleBench: Separate test for :nth pseudo classes
https://bugs.webkit.org/show_bug.cgi?id=181932

Reviewed by Sam Weinig.

Optimization strategies for nth are different from other structural pseudo classes (:first-child etc). Move them to a separate test.

* StyleBench/resources/style-bench.js:
(structuralPseudoClassConfiguration):
(nthPseudoClassConfiguration):

    Add a new configuration.

(predefinedConfigurations):
(pseudoClassConfiguration): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PerformanceTests/ChangeLog
PerformanceTests/StyleBench/resources/style-bench.js