platform_system_core/libunwindstack/benchmarks
David Srbecky a17c2b694c Optimize Memory::ReadString
This function is responsible for majority of CPU time in prefetto.

Reduce the number of memory reads (don't read strings byte-by-byte).

Update all calls of ReadString to include the third parameter to have
a max read.

Add an Elf creation benchmark since this function is on the elf
creation path.

Test: libunwindstack_unit_test
Change-Id: Ia36e1f1a5ba76c9e9f13c43fb9e3691dde7897f2
2020-04-16 15:03:19 -07:00
..
files Add benchmarks for symbol reading. 2020-04-15 14:03:21 -07:00
ElfBenchmark.cpp Optimize Memory::ReadString 2020-04-16 15:03:19 -07:00
SymbolBenchmark.cpp Optimize Memory::ReadString 2020-04-16 15:03:19 -07:00
unwind_benchmarks.cpp Fix copy / move behaviour of Maps object. 2019-03-05 13:05:36 +00:00
Utils.cpp Optimize Memory::ReadString 2020-04-16 15:03:19 -07:00
Utils.h Optimize Memory::ReadString 2020-04-16 15:03:19 -07:00