From 276d71b591efd89d40efa86e82fb59c5abf443db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nacho=20Codo=C3=B1er?= Date: Mon, 17 Mar 2025 12:06:27 +0100 Subject: [PATCH] update cmd to add size options --- tools/cli/help.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tools/cli/help.txt b/tools/cli/help.txt index 4b821532fd..d225036e84 100644 --- a/tools/cli/help.txt +++ b/tools/cli/help.txt @@ -1160,10 +1160,6 @@ This command runs a performance profile for the Meteor application, monitoring t bundler process and tracking key performance metrics to help analyze the build and bundling performance. -Optionally, you can set the environment variable METEOR_BUNDLE_SIZE=true to gather -bundle size data, allowing you to assess the impact of changes on the overall build -size. - Use METEOR_IDLE_TIMEOUT= to set a timeout for profiling. The default time (90s) is usually enough for each build step to complete. If you encounter errors due to early exits, adjust the environment variable accordingly. @@ -1175,6 +1171,9 @@ it uses the server and client entrypoints specified in your package.json. Use METEOR_LOG_DIR= to set a custom log directory. Options: -The options for this command are the same as those for the meteor run command. + --size monitor both bundle runtime and size + --only-size monitor only the bundle size + +The rest of options for this command are the same as those for the meteor run command. You can pass typical runtime options (such as --settings, --exclude-archs, etc.) to customize the profiling process.