• Leszek Swirski's avatar
    [gcmole] Improve performance · 18138f26
    Leszek Swirski authored
    Improve the performance of gcmole by
    
      * Precompiling the regexes in GCSuspectsCollector.Resolve
      * Merging those regexes into a single regex, using '|'
      * Changing multiprocess clang plugin invocation to threaded (running
        the plugin releases the GIL so this can efficiently thread). This
        uses a simple worker pool with a single work queue.
      * Change clang plugin invocation loop to yield after each invocation.
        This pipelines the dump-callees plugin and GCSuspectsCollector
        Parse/Resolve, so that the parse can happen while waiting for other
        callee dumps to finish.
    
    Change-Id: Ib9fca70dbcfd2f9d1aebc8bd11aa1d1f7d34e24a
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2562242Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Reviewed-by: 's avatarLiviu Rau <liviurau@chromium.org>
    Commit-Queue: Leszek Swirski <leszeks@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#71617}
    18138f26
Name
Last commit
Last update
..
BUILD.gn Loading commit data...
GCMOLE.gn Loading commit data...
Makefile Loading commit data...
README Loading commit data...
bootstrap.sh Loading commit data...
gcmole-test.cc Loading commit data...
gcmole-tools.tar.gz.sha1 Loading commit data...
gcmole.cc Loading commit data...
gcmole.py Loading commit data...
ignored_files Loading commit data...
package.sh Loading commit data...
run-gcmole.py Loading commit data...
suspects.whitelist Loading commit data...
test-expectations.txt Loading commit data...