mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 13:47:24 +00:00
Add complex DI benchmarks, main runner, and English README with summarized results for cherrypick core
This commit is contained in:
18
benchmark_cherrypick/bin/main.dart
Normal file
18
benchmark_cherrypick/bin/main.dart
Normal file
@@ -0,0 +1,18 @@
|
||||
import 'package:benchmark_runner/benchmark_runner.dart';
|
||||
import 'package:benchmark_cherrypick/cherrypick_benchmark.dart';
|
||||
import 'package:benchmark_cherrypick/complex_bindings_benchmark.dart';
|
||||
import 'package:benchmark_cherrypick/async_chain_benchmark.dart';
|
||||
import 'package:benchmark_cherrypick/scope_override_benchmark.dart';
|
||||
|
||||
void main(List<String> args) async {
|
||||
// Синхронные бенчмарки
|
||||
RegisterAndResolveBenchmark().report();
|
||||
ChainSingletonBenchmark().report();
|
||||
ChainFactoryBenchmark().report();
|
||||
NamedResolveBenchmark().report();
|
||||
|
||||
// Асинхронный бенчмарк
|
||||
await AsyncChainBenchmark().report();
|
||||
|
||||
ScopeOverrideBenchmark().report();
|
||||
}
|
||||
Reference in New Issue
Block a user