Open Bug 1853510 Opened 1 year ago Updated 1 year ago

Online LZMA compressor is 2x slower in Nightly compared to Chrome

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug, )

Details

Attachments

(1 file)

4.10 MB, application/x-javascript
Details

Go to http://lzma-js.github.io/LZMA-JS/demos/advanced_demo.html
Copy the sample text in the input.
Set compression level to 9
Click on Compress

Nightly: 70 seconds https://share.firefox.dev/3Lqe1V7
Chrome: 35 seconds

Attached file sample text

I tested with different sizes of text, and my observation is that as the input text becomes larger, we progressively get more slower compared to Chrome

This spends most of its time in a worker. Looking at the worker's flame graph, this is a poster child for sparse elements.

Depends on: 1339265

For this and the other sparse element issue you filed a while ago, it'd be interesting to see what the element access pattern is. Question is if these should just be dense or if they're really sparse.

Severity: -- → N/A
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: