diff --git a/modules/benchmarks/src/expanding_rows/index.ts b/modules/benchmarks/src/expanding_rows/index.ts index 6dd9db9d86..743f0ee323 100644 --- a/modules/benchmarks/src/expanding_rows/index.ts +++ b/modules/benchmarks/src/expanding_rows/index.ts @@ -5,13 +5,14 @@ * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ - +import {enableProdMode} from '@angular/core'; import {platformBrowser} from '@angular/platform-browser'; import {ExpandingRowBenchmarkModule} from './benchmark'; import {ExpandingRowBenchmarkModuleNgFactory} from './benchmark.ngfactory'; setMode(ExpandingRowBenchmarkModule.hasOwnProperty('ngModuleDef') ? 'Ivy' : 'ViewEngine'); +enableProdMode(); platformBrowser().bootstrapModuleFactory(ExpandingRowBenchmarkModuleNgFactory); function setMode(name: string): void {