refactor: run js-web-frameworks with noop zone (#56362)

Align setup of this benchmark with
https://github.com/krausest/js-framework-benchmark/tree/master/frameworks/keyed/angular-cf-nozone
by running without zone.js using noop zone.

PR Close #56362
This commit is contained in:
Pawel Kozlowski
2024-06-10 15:24:27 +02:00
committed by Andrew Kushnir
parent b2c44c76dc
commit 485c3d929d
3 changed files with 5 additions and 3 deletions
@@ -36,7 +36,6 @@ http_server(
srcs = ["index.html"],
deps = [
":app_bundle",
"//packages/zone.js/bundles:zone.umd.js",
],
)
@@ -25,7 +25,6 @@
</div>
<!-- BEGIN-EXTERNAL -->
<script src="/angular/packages/zone.js/bundles/zone.umd.js"></script>
<!-- END-EXTERNAL -->
<!-- Needs to be named `app_bundle` for sync into Google. -->
@@ -13,4 +13,8 @@ import {init} from './init';
import {JsWebFrameworksModule} from './rows';
enableProdMode();
platformBrowser().bootstrapModule(JsWebFrameworksModule).then(init);
platformBrowser()
.bootstrapModule(JsWebFrameworksModule, {
ngZone: 'noop',
})
.then(init);