File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import fs from 'fs';
1818// Intentionally strict to catch any bundle size changes early.
1919// For intentional size increases, use bin/skip-bundle-size-check to bypass the CI check.
2020const DEFAULT_THRESHOLD = 512 ;
21- const DEFAULT_TIME_PERCENTAGE_THRESHOLD = 0.1 ;
21+ const DEFAULT_TIME_PERCENTAGE_THRESHOLD = 0.2 ;
2222const DEFAULT_CONFIG = '.size-limit.json' ;
2323
2424// ANSI color codes
@@ -175,7 +175,7 @@ ${colors.yellow}Options for set-limits:${colors.reset}
175175 --base <file> Path to base sizes JSON (required)
176176 --config <file> Path to .size-limit.json (default: .size-limit.json)
177177 --threshold <bytes> Size threshold in bytes (default: 512)
178- --timePercentageThreshold <percentage > Acceptable increase percentage in total time
178+ --timePercentageThreshold <ratio between 0 and 1 > Acceptable increase percentage in total time
179179
180180${ colors . yellow } Examples:${ colors . reset }
181181 # Set dynamic limits from base sizes
You can’t perform that action at this time.
0 commit comments