mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Kushnir
parent
b2c44c76dc
commit
485c3d929d
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user