+5
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Profiling of adb_benchmark revealed that something like half of the CPU time was being spent in malloc and free, which was odd because the benchmark repeatedly mallocs and frees allocations of the same size. It turns out that our default configuration of jemalloc will purge after every free. Configure jemalloc to not do this, for gains of over 100% on adb_benchmark, and up to 25% (on walleye USB3) in real-life. Test: adb_benchmark Change-Id: I602dd1645c3d21709c7f6a78903511ce4d576558