benchmarks: add ng2_ftl and ng2_switch_ftl benchmarks (#11963)
These benchmarks take the output of AoT and manually tweaks it to explore possible future changes to the compiler to produce this output directly.
This commit is contained in:

committed by
Chuck Jazdzewski

parent
42b4b6d21b
commit
df1822fc2a
@ -34,7 +34,9 @@ export function openBrowser(config: {
|
||||
browser.ignoreSynchronization = true;
|
||||
}
|
||||
var params = config.params || [];
|
||||
params = params.concat([{name: 'bundles', value: cmdArgs.bundles}]);
|
||||
if (!params.some((param) => param.name === 'bundles')) {
|
||||
params = params.concat([{name: 'bundles', value: cmdArgs.bundles}]);
|
||||
}
|
||||
|
||||
var urlParams: string[] = [];
|
||||
params.forEach((param) => { urlParams.push(param.name + '=' + param.value); });
|
||||
|
Reference in New Issue
Block a user