perf-audit-cli
Version:
CLI tool for continuous performance monitoring and analysis
16 lines • 577 B
JavaScript
export const LARGE_CLIENT_BUNDLE_THRESHOLD = 150 * 1024;
export const SMALL_CHUNK_THRESHOLD = 10 * 1024;
export const LARGE_SERVER_BUNDLE_THRESHOLD = 200 * 1024;
export const HEAVY_SERVER_BUNDLE_THRESHOLD = 100 * 1024;
export const MIN_SMALL_CHUNKS_FOR_RECOMMENDATION = 3;
export const MIN_SIZE_CHANGE_THRESHOLD = 1024;
export const MIN_PERCENTAGE_CHANGE_THRESHOLD = 5;
export const SIZE_UNITS = {
B: 1,
KB: 1024,
MB: 1024 * 1024,
GB: 1024 * 1024 * 1024,
TB: 1024 * 1024 * 1024 * 1024,
};
export const BYTES_PER_KB = 1024;
//# sourceMappingURL=bundle.js.map