From 8c33f915293deab3ca5cd700e38ffed06bf81692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Wed, 27 Nov 2019 09:55:39 -0800 Subject: [PATCH] docs: update run instructions (#34090) PR Close #34090 --- packages/core/test/render3/perf/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/test/render3/perf/README.md b/packages/core/test/render3/perf/README.md index 1d1bfd6e52..6fe43f71e0 100644 --- a/packages/core/test/render3/perf/README.md +++ b/packages/core/test/render3/perf/README.md @@ -1,19 +1,19 @@ ### Build ``` -yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}.min_debug.es2015.js --config=ivy +yarn bazel build //packages/core/test/render3/perf:${BENCHMARK}_lib.min_debug.es2015.js --config=ivy ``` ### Run ``` -node dist/bin/packages/core/test/render3/perf/${BENCHMARK}.min_debug.es2015.js +node dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js ``` ### Profile ``` -node --no-turbo-inlining --inspect-brk dist/bin/packages/core/test/render3/perf/${BENCHMARK}.min_debug.es2015.js +node --no-turbo-inlining --inspect-brk dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js ``` then connect with a debugger (the `--inspect-brk` option will make sure that benchmark execution doesn't start until a debugger is connected and the code execution is manually resumed). @@ -24,7 +24,7 @@ The actual benchmark code has calls that will start (`console.profile`) and stop ``` yarn add deoptigate -yarn deoptigate dist/bin/packages/core/test/render3/perf/${BENCHMARK}.min_debug.es2015.js +yarn deoptigate dist/bin/packages/core/test/render3/perf/${BENCHMARK}_lib.min_debug.es2015.js ``` ### Run All