Unofficial mirror of the WebKit SVN repository
Pull request Compare This branch is 1497 commits ahead, 13263 commits behind WebKit:master.
Latest commit 6d44cf5 Feb 14, 2017 commit-queue@webkit.org committed with Use a set instead of a list for tests when parsing expectations
https://bugs.webkit.org/show_bug.cgi?id=168304

In _collect_matching_tests, a lot of membership tests are done on a giant list
of strings. By making it a set instead, we can make those much faster, and
there's no reason for it to be a list.

With ~45k tests and some 1000 expectations, this reduces the parse time from 34s
to 3s on my machine.

Patch by Florian Bruhin <git@the-compiler.org> on 2017-02-14
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser.__init__):
(TestExpectationParser._collect_matching_tests):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@212319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Permalink
Failed to load latest commit information.
Examples Add a sample plugin to demonstrate the mute plugin API. Dec 4, 2014
JSTests/typeProfiler Merge r204699 - [DFG] Should not fixup AnyIntUse in 32_64 Sep 11, 2016
LayoutTests WebGL gardening Feb 6, 2017
ManualTests Revert "Remove remaining Qt files." May 28, 2016
PerformanceTests Fix a missing refactoring. Feb 11, 2016
Source Added USE_MINIMAL_DEBUG_INFO option and enabled it for MinGW by default Feb 14, 2017
Tools Use a set instead of a list for tests when parsing expectations Feb 14, 2017
WebKit.xcworkspace .: Feb 19, 2016
WebKitLibraries Remove LLVM dependencies from WebKit Feb 18, 2016
Websites Merge r197380 - [DFG][FTL][B3] Support floor and ceil Mar 23, 2016
.dir-locals.el emacs: unreviewed. add settings for editing js files. Dec 20, 2011
.gitattributes Tell git-archive to not export .gitattributes and .gitignore Aug 29, 2012
.gitignore Ignore files installed by update-qtwebkit-win-libs May 28, 2016
.qmake.conf Added qmake project to make CI happy Oct 7, 2016
.travis.yml Travis CI should check style against qtwebkit-stable branch Jun 2, 2016
CMakeLists.txt [cmake] Simplify Clang checks and prepare for compiler ID split Sep 27, 2016
ChangeLog ENABLE_MEDIA_SOURCE should depend on ENABLE_VIDEO Jan 9, 2017
ChangeLog-2012-05-22 .: == Rolled over to ChangeLog-2012-05-22 == May 22, 2012
Makefile Add a new 'analyze' target to the makefile. This will make use of a new Jul 18, 2014
Makefile.shared Teach Makefile to build LayoutTestRelay when building for iOS Simulator Nov 6, 2015
ToolchainMIPS.cmake [ToolchainMIPS] Allow specification of EXTRA_ROOT_PATH. May 29, 2016
WebKit.pro Added qmake project to make CI happy Oct 7, 2016