v149 · JavaScript · Performance
Size Threshold Explorer
V8's bytecode cache for inline scripts has size thresholds — a script too small isn't worth caching (compile time is negligible), and a script too large may be skipped too. Enter your script and see whether it falls inside the cacheable zone, along with an eligibility checklist.
Script editor
Presets:
0 Bsize
0lines
0approx tokens
Threshold settings (V8 approximate values)
Min cache size
bytes
Max cache size
bytes
Eligibility analysis
Enter a script to analyze
Size position in cacheable range
1 KB (min)
—
512 KB (max)
- ? Enter a script to see eligibility checks
Note: V8's actual thresholds are implementation details that can change between releases. These values reflect documented Chrome 149 behaviour. The cache key is
SHA-256(script_source) + network_isolation_key.
see also
- Cold vs Warm — load time comparison across cache hits
- Cache Key Probe — SHA-256 keying in action
- Bytecode Savings Calculator — estimate parse/compile time savings
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗