Don't run these benchmarks forever by default

Running forever is useful for profiling but makes these scripts less useful for
measurement.  :)
This commit is contained in:
Adam Barth
2015-11-10 13:08:11 -08:00
parent f0ebc2b0b1
commit f7d8100754
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ import 'package:stocks/stock_data.dart' as stock_data;
import '../../test/widget/widget_tester.dart';
const int _kNumberOfIterations = 50000;
const bool _kRunForever = true;
const bool _kRunForever = false;
void main() {
assert(false); // Don't run in checked mode

View File

@@ -7,7 +7,7 @@ import 'package:stocks/stock_data.dart' as stock_data;
import '../../test/widget/widget_tester.dart';
const int _kNumberOfIterations = 100000;
const bool _kRunForever = true;
const bool _kRunForever = false;
void _doNothing() { }