7fa2a59295
Previous implementation was slow when you put too many items in the negative part of gtest filter (with positive part = *). For net_unittests we have 2 mln fnmatch.fnmatch() calls. Using one re match() instead of repetitive fnmatch() is much faster. This change makes it more than 1000 times faster in heavy scenarios (0.1 sec instead of 8 min for net_unittests with 100 negative items). R=alexandermont@chromium.org, jbudorick@chromium.org Bug: 783187 Change-Id: I70b0487e451cfc0457a683d4e1ef5de2a8bee732 Reviewed-on: https://chromium-review.googlesource.com/758853 Reviewed-by: John Budorick <jbudorick@chromium.org> Commit-Queue: John Budorick <jbudorick@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#525737} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: da0240761319bc610c7c4121d76659c7364b79bb |
||
---|---|---|
.. | ||
lib/common | ||
BUILD.gn | ||
branding.gni | ||
java_action.gni | ||
java_action.py | ||
lastchange.py | ||
process_version.gni | ||
version.gni | ||
version.py | ||
webkit_version.h.in |