a630784fe1124ae5956da2639f1b324c15365fa7 |
|
17-Feb-2016 |
Elliott Hughes <enh@google.com> |
Switch bionic over to google-benchmark. Also removes the old benchmarking library. (cherry picked from commit 281e06ba69ce6f591697acf65a24651050809920) Bug: http://b/24803663 Change-Id: Idde5aa759b03d2b3cb51e32785beaf1c46476fa3
|
dc93db20a96e95827f4873fa04bb1e58177736df |
|
17-Mar-2015 |
Yabin Cui <yabinc@google.com> |
Change name of rwlock benchmark. rw_lock is not easy for me to remember, so I prefer changing it to rwlock. Change-Id: I0784acaca0c3b46c28184a77eb29ffe696f9ea07
|
df4942c04a63ae6e4f5c78ece9f696d6b8b74d32 |
|
18-Feb-2015 |
Christopher Ferris <cferris@google.com> |
Refactor the benchmark code. Changes: - Modify the benchmarks to derive from a single Benchmark object. - Rewrite the main iteration code. This includes changing the iteration code to use the actual total time calculated by the benchmark as a basis for determining whether there are enough iterations instead of using the time it takes to run the benchmark. - Allow benchmarks to take no argument, int, or double. - Fix the PrettyInt printer for negative integers. - Modify the max column width name to include the whole name including the arg part. - Reformat property_benchmark.cpp in line with the rest of the code. - Modify a few of the math benchmarks to take an argument instead of separate benchmarks for the same function with different args. - Create a vector of regex_t structs to represent the args all at once instead of when running each benchmark. This change is in preparation for adding new math based benchmarks. Tested by running on a nexus flo running at max using the new code and the old code and comparing. All of the numbers are similar, but some of the iterations are different due to the slightly different algorithm used. Change-Id: I57ad1f3ff083282b9ffeb72e687cab369ce3523a
|
8cf1b305670123aed7638d984ca39bfd22388440 |
|
04-Dec-2014 |
Yabin Cui <yabinc@google.com> |
Use mmap to create the pthread_internal_t Add name to mmaped regions. Add pthread benchmark code. Allocate pthread_internal_t on regular stack. Bug: 16847284 Change-Id: Id60835163bb0d68092241f1a118015b5a8f85069
|
212e0e38248860b151b28877225629a988d95b58 |
|
02-Dec-2014 |
Elliott Hughes <enh@google.com> |
Build our benchmarks against glibc too. Bug: 18556607 Change-Id: I455ac8b93c0835836180e549486bc52d393ee6a6
|
837a962bf5473eeec1668de1104800ff4a53bdd1 |
|
16-Sep-2014 |
Calin Juravle <calin@google.com> |
Add benchmarks for pthread_rw_locks Benchmarks for the following sequences: 1) pthread_rwlock_rdlock -> pthread_rwlock_unlock 2) pthread_rwlock_wrlock -> pthread_rwlock_unlock Change-Id: I8d87d4d8afab8637ea7ff5d23a0b3a81d6d40835
|
b27a840f4b520bfa095db99b0a2e5205634b0003 |
|
11-Jun-2014 |
Elliott Hughes <enh@google.com> |
Add __pure2 to a few more functions, most notably gettid and pthread_self. Change-Id: I7eee9f26f45130038af09d8285782b07f70a996f
|
b28e490b7350b21c5ae9e5b3bb3e082d8357a1b0 |
|
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Add various benchmarks. These are based on ones from system/extras/tests/bionic/. Change-Id: I7b1ae15a2ca5d1031a6a511d97b88125c1770047
|