Open Bug 1377268 Opened 8 years ago Updated 1 year ago

JSBC should store the chunk-compressed source.

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: nbp, Unassigned, NeedInfo)

References

(Blocks 1 open bug)

Details

(Keywords: triage-deferred)

As part of the JSBC we want to store the chunk-compressed source in order to reduce the size stored in the cache, and also because this would be work that we would no longer have to do later. Bug 1348134 moved the source compression to be done at GC instead of sync-ing at the end of the bytecode compiler. We should re-use the same API and use that as a blocker of the encoder of the script loader.
Based on telemetry results the bytecode cache is, for larger scripts, around a factor of 3 of the source size. Using chunk-compressed source should make it go down to something like a factor of 2 or less.
Keywords: triage-deferred
Priority: -- → P3
This would be nice to have, but not mandatory for landing the JSBC.
No longer blocks: js-startup-cache
Depends on: js-startup-cache
Flags: needinfo?(nicolas.b.pierron)
Depends on: 1511595
Severity: normal → S3
Blocks: sm-runtime
Severity: S3 → N/A
You need to log in before you can comment on or make changes to this bug.