summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorShubham Ajmera <shubhamajmera@google.com>2017-09-25 18:40:54 -0700
committerShubham Ajmera <shubhamajmera@google.com>2017-09-26 23:39:01 +0000
commitb00bb06a344d9a7ea00691b95785e1c73f5ef094 (patch)
treeee8fbdc49a0bb5af4fc2b3a56c7a53842d58b45a /compiler/optimizing/codegen_test_utils.h
parent208dd6076bdddcb04afb0397e4d4708f44a5dd60 (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-gtest-profile_assistant_test Change-Id: I8a9034c543a53a1c7b2a18a91d560786391b7c6e
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions