Reduce noise on the memory benchmarks (#19630)

- Check memory usage in release builds, not profile.
- Use multiple runs and average the results.
This commit is contained in:
Ian Hickson
2018-08-02 12:22:15 -07:00
committed by GitHub
parent 1f7082dbd8
commit 8eb5cb7dc0
21 changed files with 564 additions and 220 deletions

View File

@@ -363,7 +363,7 @@ class _GalleryHomeState extends State<GalleryHome> with SingleTickerProviderStat
? const Text('Flutter gallery')
: new Text(_category.name),
),
frontHeading: widget.testMode ? null: new Container(height: 24.0),
frontHeading: widget.testMode ? null : new Container(height: 24.0),
frontLayer: new AnimatedSwitcher(
duration: _kFrontLayerSwitchDuration,
switchOutCurve: switchOutCurve,