Closed Bug 786026 Opened 12 years ago Closed 12 years ago

IonMonkey very slow/lots of RAM on crunch decoder, stops BananaBread startup

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 785755

People

(Reporter: azakai, Unassigned)

References

(Blocks 1 open bug, )

Details

Latest IonMonkey nightly stalls during load of BananaBread,

http://dl.dropbox.com/u/80664946/main.html?low,low

The problem is that crunch-worker.js (crunch decoder running in a web worker) is extremely slow. You can open the web console and see messages as they return, for example

[12:47:48.148] decrunched packages/gk/lava/lava_nm.dds in 7467 ms, 349552 bytes
[12:48:14.322] decrunched packages/models/ffflag/ffflag_cc.dds in 26172 ms, 1398128 bytes

The times reported there are about 2 orders of magnitude slower than JM+TI.

Because of this, startup basically grinds to a halt, as we have many textures that need to be decrunched. I have also seen RAM rise quite a bit during this, and gotten an OOM once.
OS: Linux → All
Hardware: x86 → All
A similar problem seems to happen in

http://syntensity.com/static/mams/mams.html

which does LZMA decompression in a worker.

Decompressors use uint32s, so perhaps this is related to bug 785755?
Bisection shows this was caused by the same revision that regressed bug 785755. Duping.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.