summaryrefslogtreecommitdiffstats
path: root/tests/FrameworkPerf
Commit message (Collapse)AuthorAgeFilesLines
* remove usage of deprecated method setLatestEventInfoChris Wren2015-06-121-9/+12
| | | | | Bug: 18510449 Change-Id: I56a77991c729990e501f402e007dfa79ee57621e
* Set text color for the output log.Mohamad Ayyash2014-08-251-0/+2
| | | | | | In some devices the text color is the same as the background color. Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d
* New ArrayMap class.Dianne Hackborn2013-05-241-0/+208
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Unify normal and overlay action bar layouts.Dianne Hackborn2013-02-272-2/+4
| | | | | | | | | | | | | | | | | | | | | 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
* Correct executable bit for source filesKenny Root2012-11-073-0/+0
| | | | | | | | | Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
* Add iteration-limited mode to FrameworkPerfChristopher Tate2011-11-284-6/+61
| | | | | | | | | | 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
* Merge "add a self instrumentation into framework perf app" into ics-mr1Guang Zhu2011-11-174-13/+73
|\
| * add a self instrumentation into framework perf appGuang Zhu2011-11-174-13/+73
| | | | | | | | | | | | | | It's essentially a test app on itself to facilitate running the perf automatically. Change-Id: I5aad3565e64719d219e76969a989ca80aa6df286
* | Add a few GC-flexing microbenchmark testsChristopher Tate2011-11-171-0/+49
|/ | | | | | | | | 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
* Cleanup remote execution of perf tests.Dianne Hackborn2011-11-082-20/+92
| | | | Change-Id: I0d00537194f3a70969220db16f57bda6f25e454b
* Update perf tests to always run each test in a fresh process.Dianne Hackborn2011-11-077-1026/+1345
| | | | | | Also some new classes to preload. Change-Id: Ia2b5f856eaee533b9603b533ebaf8cb55e2ac193
* More performance work:Dianne Hackborn2011-11-026-17/+584
| | | | | | | | | - ActivityManager now keeps track of previous app as you move across the home app. - Better debug info about why an activity is being destroyed. - New performance tests. Change-Id: I3a5ae7cb1b9f1624c6792a4f6184353f532b8f3b
* Some optimizations.Dianne Hackborn2011-11-013-8/+28
| | | | | | | | | | | | - Don't try to create a thumbnail bitmap on the client side. This wastes 64k, and isn't needed since we are doing screenshots. - Optimize View to put all of the callback pointers out of line. Added a couple new APIs so these don't need to be protected/public. - Lazily create ViewGroup's cache paint. - Change FrameworkPerf app to not use HW accel drawing, to give better comparison with GB. Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
* Various performance and other work.Dianne Hackborn2011-10-314-17/+178
| | | | | | | | | | | | | | | | | | - IME service now switches between visible and perceptible depending on whether it is being showm, allowing us to more aggressively free its memory when not shown. - The activity display time is no longer delayed by the activity transition animation. - New -R (repeat) option for launching activities with the am command. - Improved some documentation on Loader to be clear about some methods that apps should not normally call. - FrameworkPerf test now allows you to select individual tests to run. Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
* Add some IO tests.Dianne Hackborn2011-10-281-14/+215
| | | | Change-Id: Iacd5798a539781b67637cbbcc49cc8dec344e17b
* Fix build. Forgot to add files. :(Dianne Hackborn2011-10-273-0/+911
| | | | Change-Id: I89dcc247d957a4873c56017bc262dd717d236258
* New framework performance tests.Dianne Hackborn2011-10-2715-0/+1099
Change-Id: Ib8cc6704f508b7516ba0a30aa71bb88ef028691d