mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +00:00
Update benchmarks, lock files, and related documentation
This commit is contained in:
@@ -26,6 +26,8 @@ class AsyncChainBenchmark extends AsyncBenchmarkBase {
|
||||
|
||||
@override
|
||||
Future<void> setup() async {
|
||||
CherryPick.disableGlobalCycleDetection();
|
||||
CherryPick.disableGlobalCrossScopeCycleDetection();
|
||||
scope = CherryPick.openRootScope();
|
||||
scope.installModules([AsyncChainModule()]);
|
||||
}
|
||||
|
||||
@@ -18,6 +18,8 @@ class RegisterAndResolveBenchmark extends BenchmarkBase {
|
||||
|
||||
@override
|
||||
void setup() {
|
||||
CherryPick.disableGlobalCycleDetection();
|
||||
CherryPick.disableGlobalCrossScopeCycleDetection();
|
||||
scope = CherryPick.openRootScope();
|
||||
scope.installModules([AppModule()]);
|
||||
|
||||
|
||||
@@ -52,6 +52,8 @@ class ChainFactoryBenchmark extends BenchmarkBase {
|
||||
late Scope scope;
|
||||
@override
|
||||
void setup() {
|
||||
CherryPick.disableGlobalCycleDetection();
|
||||
CherryPick.disableGlobalCrossScopeCycleDetection();
|
||||
scope = CherryPick.openRootScope();
|
||||
scope.installModules([ChainFactoryModule()]);
|
||||
}
|
||||
|
||||
@@ -25,6 +25,8 @@ class ScopeOverrideBenchmark extends BenchmarkBase {
|
||||
late Scope child;
|
||||
@override
|
||||
void setup() {
|
||||
CherryPick.disableGlobalCycleDetection();
|
||||
CherryPick.disableGlobalCrossScopeCycleDetection();
|
||||
parent = CherryPick.openRootScope();
|
||||
parent.installModules([ParentModule()]);
|
||||
child = parent.openSubScope('child');
|
||||
|
||||
Reference in New Issue
Block a user