Update benchmarks, lock files, and related documentation

This commit is contained in:
Sergey Penkovsky
2025-08-01 08:40:10 +03:00
parent 882ee92000
commit 1682ed9c08
10 changed files with 42 additions and 18 deletions

View File

@@ -26,6 +26,8 @@ class AsyncChainBenchmark extends AsyncBenchmarkBase {
@override
Future<void> setup() async {
CherryPick.disableGlobalCycleDetection();
CherryPick.disableGlobalCrossScopeCycleDetection();
scope = CherryPick.openRootScope();
scope.installModules([AsyncChainModule()]);
}

View File

@@ -18,6 +18,8 @@ class RegisterAndResolveBenchmark extends BenchmarkBase {
@override
void setup() {
CherryPick.disableGlobalCycleDetection();
CherryPick.disableGlobalCrossScopeCycleDetection();
scope = CherryPick.openRootScope();
scope.installModules([AppModule()]);

View File

@@ -52,6 +52,8 @@ class ChainFactoryBenchmark extends BenchmarkBase {
late Scope scope;
@override
void setup() {
CherryPick.disableGlobalCycleDetection();
CherryPick.disableGlobalCrossScopeCycleDetection();
scope = CherryPick.openRootScope();
scope.installModules([ChainFactoryModule()]);
}

View File

@@ -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');