diff options
author | Lokesh Gidra <lokeshgidra@google.com> | 2019-11-25 10:41:23 -0800 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2019-11-27 02:32:51 +0000 |
commit | f585c1e4f8b011b7399668800da53ec726fbeb40 (patch) | |
tree | bd7a532ba4fdca8bc037a1b5faaef491a37f98e1 /compiler/optimizing/graph_visualizer.cc | |
parent | f92f6f12f3be976afb8f2ac8e8bbeaef72ef8b33 (diff) |
Protect/Unprotect regions (region space) only in debug build
During performance analysis it was observed that the
allocation-intensive workloads get negatively impacted by the region
protect/unprotect. Therefore, we enable this only on debug builds.
Some of the most affected benchmarks on Golem are as follows:
Benchmark | armv8 | armv7 | x64 | x32
------------------------------------------------------------------
BinaryTrees | 8% | 8% | 13% | 12%
MicroAllocThreeFinalThrice | 13% | 8% | 27% | 30%
MicroAllocThreeFinalTwice | 13% | 9% | 32% | 30%
MicroAllocThreeFinal | 13% | 8% | 33% | 30%
MicroAllocTwoFinal | 11% | 9% | 32% | 31%
MicroAllocOneFinal | 11% | 9% | 33% | 31%
MicroAllocBaseline | 12% | 9% | 33% | 34%
KotlinMicroTree | -0.4% | 0.7% | 8% | 9%
KotlinMicroMap | 6% | 3% | 0.7% | 1%
KotlinImgProc-CheckerboardMultiply | 5% | 0.5% | 0% |-0.5%
Splay | 5% | 4% | 2% | 3%
MicroLazyInitSingleThreadedSlow | 8% | -2% | 17% | 7%
MicroLazyInitImmutableSlow | 5% | -2% | 24% | 8%
Test: golem benchmarking
Bug:140130889
Change-Id: I6be646bcc069d59625112c1b9ab91bbbc5f9f627
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions