841b1ad814
This CL improves performance of allocation statistic counters on ARM by removing duplicated loads and increasing distance between dependent loads. These statistic counters are part of allocator fast path in a non-product mode. This change improves performance of gestures/velocity_tracker_bench Flutter micro-benchmark in 'flutter run --profile' mode: Before: 3352 µs After: 3156 µs (-5.8%) (minimum of 5 runs) Change-Id: Ic7998318d9ca3e7997379d0054faaf5b0b569bb6 Reviewed-on: https://dart-review.googlesource.com/15640 Reviewed-by: Zach Anderson <zra@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>