platform_bionic/benchmarks/linker_relocation/gen
Ryan Prichard 41f19708c8 Add a linker relocation benchmark
The benchmark creates a set of DSOs that mimic the work involved in
loading the current version of libandroid_servers.so. The synthetic
benchmark has roughly the same number of libraries with roughly the same
relocations.

Currently, on a local aosp_walleye build that includes recent performance
improvements (including the Neon-based CL
I3983bca1dddc9241bb70290ad3651d895f046660), using the "performance"
governor, the benchmark reports these scores:

$ adb shell taskset 10 \
  /data/benchmarktest64/linker-reloc-bench/linker-reloc-bench \
  --benchmark_repetitions=20 --benchmark_display_aggregates_only=true
...
--------------------------------------------------------------------------------
Benchmark                                      Time             CPU   Iterations
--------------------------------------------------------------------------------
BM_linker_relocation/real_time_mean        70048 us          465 us           20
BM_linker_relocation/real_time_median      70091 us          466 us           20
BM_linker_relocation/real_time_stddev        329 us         8.29 us           20

$ adb shell taskset 10 \
  /data/benchmarktest/linker-reloc-bench/linker-reloc-bench \
  --benchmark_repetitions=20 --benchmark_display_aggregates_only=true
...
--------------------------------------------------------------------------------
Benchmark                                      Time             CPU   Iterations
--------------------------------------------------------------------------------
BM_linker_relocation/real_time_mean        83051 us          462 us           20
BM_linker_relocation/real_time_median      83069 us          464 us           20
BM_linker_relocation/real_time_stddev        184 us         8.91 us           20

Test: manual
Bug: none
Change-Id: I6dac66978f8666f95c76387093bda6be0151bfce
2020-01-14 13:12:56 -08:00
..
Android.bp Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_000.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_001.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_002.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_003.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_004.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_005.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_006.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_007.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_008.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_008.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_009.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_010.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_011.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_012.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_013.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_014.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_015.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_016.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_017.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_018.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_019.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_020.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_021.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_022.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_023.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_024.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_025.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_026.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_027.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_028.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_029.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_030.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_031.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_032.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_033.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_034.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_035.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_036.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_037.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_038.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_039.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_040.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_041.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_042.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_043.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_044.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_045.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_046.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_047.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_048.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_049.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_050.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_051.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_052.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_053.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_054.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_055.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_056.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_057.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_058.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_059.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_060.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_061.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_062.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_063.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_064.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_065.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_066.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_067.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_068.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_069.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_070.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_071.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_071.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_072.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_073.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_074.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_075.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_076.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_077.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_077.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_078.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_079.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_080.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_081.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_082.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_083.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_084.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_085.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_086.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_087.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_088.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_089.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_090.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_091.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_092.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_093.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_094.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_095.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_095.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_096.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_097.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_097.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_098.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_099.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_100.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_101.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_102.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_103.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_104.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_105.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_106.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_106.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_107.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_108.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_109.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_110.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_111.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_112.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_113.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_114.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_115.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_116.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_117.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_118.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_119.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_120.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_121.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_122.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_123.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_124.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_125.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_126.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_127.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_128.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_129.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_130.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_131.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_132.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_133.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_134.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_135.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_136.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_137.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_138.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_139.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_140.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_141.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_142.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_143.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_144.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_145.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_146.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_147.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_148.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_149.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_150.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_151.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_152.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_153.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_154.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_155.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_156.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_157.map Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_157.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_158.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_159.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_160.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_161.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_162.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_163.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_164.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_165.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_166.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_167.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
liblinker_reloc_bench_168.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00
linker_reloc_bench_main.S Add a linker relocation benchmark 2020-01-14 13:12:56 -08:00