diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-10-26 14:52:42 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-10-26 15:47:47 -0700 |
commit | 0f8e0723d67bd75125705b2707c36927beabd886 (patch) | |
tree | 09c5364e2bf2b09e4ac8c70470d15607c8a324e0 /compiler/optimizing/codegen_test.cc | |
parent | 525b665cef9d85a6cfe56994561a24e10dac7f0f (diff) |
Use HashMap for DexFileVerifier
Before:
2.51% std::map<unsigned int, unsigned short>::insert(...
0.72% malloc
After:
0.73% art::HashSet<std::__1::pair<unsigned int, unsigned short>::Insert(...
0.57% malloc
The allocation from HashSet is only 0.71% of the remaining 0.57% malloc time.
0.71% art::DexFileVerifier::CheckIntraSectionIterate(unsigned long, unsigned int, unsigned short)
Bug: 10921004
Change-Id: I85c60bf27fb2d9976b944fc15d8401904432dc22
Diffstat (limited to 'compiler/optimizing/codegen_test.cc')
0 files changed, 0 insertions, 0 deletions