diff --git a/packages/orm/angel_orm_test/lib/src/performance_test.dart b/packages/orm/angel_orm_test/lib/src/performance_test.dart index 98896a92..dd5fbae9 100644 --- a/packages/orm/angel_orm_test/lib/src/performance_test.dart +++ b/packages/orm/angel_orm_test/lib/src/performance_test.dart @@ -11,12 +11,12 @@ void performanceTests(FutureOr Function() createExecutor, {FutureOr Function(QueryExecutor)? close}) { QueryExecutor? executor; - int _sampleSize = 1000; + //int _sampleSize = 1000; int concurrency = 200; // Generate a random number between 1 and 10000 - int _genRandomId() { + int genRandomId() { var rand = Random(); return rand.nextInt(10000) + 1; } @@ -65,7 +65,7 @@ void performanceTests(FutureOr Function() createExecutor, var stopwatch = Stopwatch(); stopwatch.start(); - var id = _genRandomId(); + var id = genRandomId(); var query = WorldQuery()..where?.id.equals(id); var result = await query.get(executor!); @@ -79,7 +79,7 @@ void performanceTests(FutureOr Function() createExecutor, var stopwatch = Stopwatch(); stopwatch.start(); - var id = _genRandomId(); + var id = genRandomId(); var query = WorldQuery()..where?.id.equals(id); var result = await query.get(executor!);