f4bf0ae2a7c2d9d92c5c8abdb82baa53b4c9ccda |
|
21-May-2013 |
Dianne Hackborn <hackbod@google.com> |
New ArrayMap class. This is a new kind of key/value mapping that stores its data as an array, so it doesn't need to create an extra Entry object for every mapping placed in to it. It is also optimized to reduce memory overhead in other ways, by keeping the base object small, being fairly aggressive about keeping the array data structures small, etc. There are some unit and performance tests dropped in to some random places; they will need to be put somewhere else once I decided what we are going to do with this for the next release (for example if we make it public the unit tests should go in to CTS). Switch IntentResolver to using ArrayMap instead of HashMap. Also get rid of a bunch of duplicate implementations of binarySearch, and add an optimization to the various sparse arrays where you can supply an explicit 0 capacity to prevent it from doing an initial array allocation; use this new optimization in a few places where it makes sense. Change-Id: I01ef2764680f8ae49938e2a2ed40dc01606a056b
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|
df7221ced3b7cd807f14e84c302fc09fd659fd68 |
|
26-Feb-2013 |
Dianne Hackborn <hackbod@google.com> |
Unify normal and overlay action bar layouts. Switch the action bar to always use the overlay layout, and make it smarter to do the right thing depending on whether the action bar is in overlay mode or not. This allows apps to use the system UI magic flags without having to worry about whether the action bar is configured in overlay mode or note -- just select a stable layout and it will automatically go into overlay mode. In the future this should also allow us to simplify the action bar code, since it is all sitting on one common implementation. For example, much of the logic in ActionBarImpl can be moved to the root action bar layout, and that layout can be optimized to do custom layout with all of the known elements it has. Also fixed a little bug in the performance tests. Change-Id: Iec0c0c0699754f0d1ce37402d786b4966e052a56
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|
80a682bc3d1bdf1e756b799bbcd919678b319ee3 |
|
19-Nov-2011 |
Christopher Tate <ctate@google.com> |
Add iteration-limited mode to FrameworkPerf You can run tests for exactly N iterations regardless of duration now, in addition to the previous time-limited behavior. (Clean cherry-pick to break a dependency on a previous patch that needs work before being committed.) Change-Id: I2e6cf511bbe968a6f95391567658722e87dfa1fe
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|
4c18ad56f7e9b84bb075fd39c8e712c7871430a0 |
|
17-Nov-2011 |
Christopher Tate <ctate@google.com> |
Add a few GC-flexing microbenchmark tests Added ObjectGc and FinalizingGc to stress single-object allocation and collection with/without the presence of finalizers. Also added GcOp() to the menu of available single-shot tests. Change-Id: I36d3254dfe2e97e504f9e4f77c8addda98ab4f4b
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|
dd13793a257f4d7265bba33937bb442722d5d36b |
|
08-Nov-2011 |
Dianne Hackborn <hackbod@google.com> |
Cleanup remote execution of perf tests. Change-Id: I0d00537194f3a70969220db16f57bda6f25e454b
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|
6b57b7e4d568bfa6273f87ef4c9af2fdc0ca1a06 |
|
07-Nov-2011 |
Dianne Hackborn <hackbod@google.com> |
Update perf tests to always run each test in a fresh process. Also some new classes to preload. Change-Id: Ia2b5f856eaee533b9603b533ebaf8cb55e2ac193
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/TestService.java
|