• Clemens Hammacher's avatar
    Reland "[wasm] Compile big functions first" · 5d0b4ad6
    Clemens Hammacher authored
    This is a reland of 2ce5da9a
    
    Original change's description:
    > [wasm] Compile big functions first
    >
    > Add a special queue to {CompilationUnitQueues} to handle big functions
    > specially. They are organized in a priority queue (ordered by their
    > body size), and all threads check this queue first, before executing
    > the tasks from their own queue. In some benchmarks, this shortens
    > overall compilation time by 10-20 percent.
    >
    > R=ahaas@chromium.org
    >
    > Bug: v8:8916, chromium:950493
    > Change-Id: I45f36a05304e2f1c4f3ce6b8821ddd4bd08fbba3
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1622122
    > Reviewed-by: Andreas Haas <ahaas@chromium.org>
    > Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#61746}
    
    Bug: v8:8916, chromium:950493
    No-Presubmit: true
    Change-Id: I26c949ce6a0f5efee684561dc0b4eba44921cddf
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1624799
    Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
    Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#61755}
    5d0b4ad6
module-compiler.cc 86 KB