Open Bug 1851371 Opened 1 years ago Updated 1 month ago

Nightly is 8x slower than Chrome on an online Brotli compressor

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)

Save the attached sample text file to your local machine.
Go to http://dominikhlbg.github.io/brotlijs/
In the encode box, click on the dropdown and select "11"
Browse to the locally saved text file and click OK

Nightly: https://share.firefox.dev/3qO1hko (32 seconds)
Chrome: https://share.firefox.dev/3qWGOcX (4 seconds)

https://share.firefox.dev/3L9LFhM and a profile of compressing a 1MB image.

The flame graph shows quite a lot of time under GetSparseElementHelper.

Depends on: 1339265
Severity: -- → S3
Priority: -- → P3

FWIW, we are faster at decompressing using the same utility.

Nightly: https://share.firefox.dev/46TFp7s (1.9s)
Chrome: https://share.firefox.dev/3Az1tsd (2.6s)

Latest profile: https://share.firefox.dev/3PwBKEM (27s). So slightly better than before.
Also interesting to see some regalloc time in the beginning. 50ms or so, so no nothing major.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: