Restore the original name of the velocity tracker microbenchmark (#64060)

This commit is contained in:
LongCatIsLooong
2020-08-19 00:41:06 -07:00
committed by GitHub
parent ce63f50733
commit db705b81e3
2 changed files with 23 additions and 6 deletions

View File

@@ -13,3 +13,10 @@ flutter run --release lib/stocks/layout_bench.dart
```
The results should be in the device logs.
### Avoid changing names of the benchmarks
Each microbenchmark is identified by a name, for example,
"catmullrom_transform_iteration". Changing the name of an existing
microbenchmarks will effectively remove the old benchmark and create a new one,
losing the historical data associated with the old benchmark in the process.