• Mostyn Bramley-Moore's avatar
    jumbo: build some slow-to-compile sources separately · c58460b2
    Mostyn Bramley-Moore authored
    Daniel Bratell reports:
    > v8 had a couple of files that were very slow to compile before jumbo
    > and if those now end up in the same translation unit, then I can see
    > how that translation unit can take an extreme time to get through
    > the compiler.
    >
    > From one of my test builds (times in seconds):
    > 49.7 v8_base/objects.o
    > 44.0 v8_base/code-stub-assembler.o
    > 32.9 v8_base/api.o
    > 30.5 v8_base/elements.o
    > 25.9 v8_builtins_generators/builtins-regexp-gen.o
    > 22.8 v8_base/parser.o
    > 21.2 v8_base/heap.o
    >
    > All of these are in the slowest 0.1% ninja jobs so they are extreme
    > in some way. I think I would just exclude them all (or at least the
    > 30s+ ones) completely from jumbo.
    
    BUG=chromium:746958
    
    Change-Id: I01741109def4f9ac7c946319374076eb7b9d03b6
    Reviewed-on: https://chromium-review.googlesource.com/637971
    Commit-Queue: Mostyn Bramley-Moore <mostynb@opera.com>
    Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#47703}
    c58460b2
BUILD.gn 90.3 KB