Closed
Bug 777190
Opened 13 years ago
Closed 13 years ago
don't compress files with huge strings
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: Benjamin, Assigned: Benjamin)
References
Details
(Whiteboard: [js:t])
Attachments
(1 file, 3 obsolete files)
19.98 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
(Moving this from bug 776200)
This implements a heuristic which detects files with large string literals. These source files are very quick to parse and compile but not very fast to compress. Thus, we just abort compression for files with these characteristics.
Attachment #645609 -
Flags: review?(jorendorff)
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Comment 2•13 years ago
|
||
Wrong bug.
Assignee | ||
Comment 3•13 years ago
|
||
A few tweaks.
Assignee: general → bpeterson
Attachment #645643 -
Flags: review?(jorendorff)
Assignee | ||
Updated•13 years ago
|
Attachment #645609 -
Attachment is obsolete: true
Attachment #645609 -
Flags: review?(jorendorff)
Updated•13 years ago
|
Whiteboard: [js:t]
Assignee | ||
Comment 4•13 years ago
|
||
More tweaking.
Attachment #645643 -
Attachment is obsolete: true
Attachment #645643 -
Flags: review?(jorendorff)
Attachment #645797 -
Flags: review?(jorendorff)
Assignee | ||
Comment 5•13 years ago
|
||
Rebased.
Attachment #645797 -
Attachment is obsolete: true
Attachment #645797 -
Flags: review?(jorendorff)
Attachment #647290 -
Flags: review?(jorendorff)
Comment 6•13 years ago
|
||
Comment on attachment 647290 [details] [diff] [review]
don't compress huge strings
I can't find a thing wrong with this.
Attachment #647290 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
Looks like this improved numbers somewhat :-D
https://groups.google.com/d/topic/mozilla.dev.tree-management/xqs-0zhynig/discussion
https://groups.google.com/d/topic/mozilla.dev.tree-management/I8Go7NJN-8c/discussion
Comment 9•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Updated•13 years ago
|
Blocks: savesource
You need to log in
before you can comment on or make changes to this bug.
Description
•