summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Main.java
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2017-09-25 18:40:54 -0700
committerShubham Ajmera <shubhamajmera@google.com>2017-09-28 08:47:35 -0700
commit388bae7477704fd562c00671e0835b64071de710 (patch)
treeeb92d4e98017b92461eba5a92933044501c71aac /test/ProfileTestMultiDex/Main.java
parent1806fd40d4128eb3d2419256faace4a04026e9c3 (diff)
Increase threshold for profile compilation
Threshold to trigger compilation based on profiles has been increase to avoid re-compilation too frequenctly. Now compilation will take place if methods/classes in the new profile exceeds by maximum of the following: - 2% methods/classes in the existing profile. - 100 methods or 50 classes. Context for above numbers: I analyzed profiles on my local device. Average number of methods and classes in the profiles were 8000 and 2500 respectively. Also added tests for the same. Bug: 66732454 Test: test-art-[host|target]-gtest-profile_assistant_test (cherry-picked from commit 9ab6e1dd23781e5c0a4526622d9dbb7f120d3530) Change-Id: I5c5f8d76a32900c42cda21052636a8588d28e521
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions