Skip to content

Commit f02213a

Browse files
matskoatscott
authored andcommitted
build: restore functionality of the micro benchmarks profile_all.js script (angular#33494)
The 4b81bb5 patch seemingly broke the `profile_all.js` file due to the file renaming. This patch restores the functionality of said script. PR Close angular#33494
1 parent 0953642 commit f02213a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/test/render3/perf/profile_all.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const profileTests =
3030
// build tests
3131
shell.exec(
3232
`yarn bazel build --define=compile=aot ` +
33-
profileTests.map((name) => `//packages/core/test/render3/perf:${name}.min_debug.es2015.js`)
33+
profileTests.map((name) => `//packages/core/test/render3/perf:${name}_lib.min_debug.es2015.js`)
3434
.join(' '));
3535

3636
// profile tests
@@ -61,7 +61,7 @@ profileTests.forEach((name) => {
6161
// tslint:disable-next-line:no-console
6262
console.log('----------------', name, '----------------');
6363
const log =
64-
shell.exec(`node dist/bin/packages/core/test/render3/perf/${name}.min_debug.es2015.js`);
64+
shell.exec(`node dist/bin/packages/core/test/render3/perf/${name}_lib.min_debug.es2015.js`);
6565
if (log.code != 0) throw new Error(log);
6666
const matches = log.stdout.match(/: ([\d\.]+) (.s)/);
6767
const runTime = times[name] || (times[name] = {name: name});

0 commit comments

Comments
 (0)