mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The existing DisplayListBuilder benchmarks that have a SaveLayer call do so around each rendering call which stresses measuring the cost of the SaveLayer/Restore calls. This new benchmark does a single SaveLayer/Restore around the entire array of rendering ops to measure the performance of adding new calls inside an existing layer. No tests because this is just a new benchmark.