Open Bug 651049 Opened 14 years ago Updated 2 years ago

Write a new off-the-main-thread IO driver for expat

Categories

(Core :: XML, defect)

defect

Tracking

()

Performance Impact medium

People

(Reporter: hsivonen, Unassigned)

References

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

Details

(Keywords: perf:pageload)

In order to get rid of the badness that is nsScanner and in order to move the parsing of XML Web content off the main thread, there should be a new off-the-main-thread IO driver for expat. This IO driver should deal with receiving bytes from a network stream, handling character encoding conversion and feeding the decoded UTF-16 data to expat. The design should be similar to the nsHtml5Parser/nsHtml5StreamParser pair.
Blocks: 651087
Depends on: 651111
Blocks: 452675
Blocks: 1614137

How likely is this to happen in the short-term? We ask, because it seems like a blocker for bug 1614137, which we're attempting to set a priority on during triage.

Flags: needinfo?(hsivonen)

Fission focus stuff takes up my time in the short term. Alphan, what's your current thinking on the off-the-main-thread XML project?

Flags: needinfo?(hsivonen) → needinfo?(alchen)

(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)

How likely is this to happen in the short-term? We ask, because it seems like a blocker for bug 1614137, which we're attempting to set a priority on during triage.

I saw this is blocking bug 1614137, which was reported on an Android device. Is this specific to Fenix (mobile)?

Flags: needinfo?(mconley)

(In reply to Mike Conca [:mconca] from comment #3)

I saw this is blocking bug 1614137, which was reported on an Android device. Is this specific to Fenix (mobile)?

No, this also affects Desktop.

Flags: needinfo?(mconley)

(In reply to Henri Sivonen (:hsivonen) from comment #2)

Fission focus stuff takes up my time in the short term. Alphan, what's your current thinking on the off-the-main-thread XML project?

I should have time after landing the session store rewriting.
WIll discuss with Hsinyi soon.

Flags: needinfo?(alchen)

This affects pageload, possibly quite a lot if the page uses SVG heavily. So p1 (pageload bugs are p1 by default).
But I do expect fixing this to take some time.

Whiteboard: [qf:p1:pageload]

It would be preferable, though not strictly required, to fix bug 1733043 before this one.

Whiteboard: [qf:p1:pageload] → [qf:p2:pageload]
Performance Impact: --- → P2
Keywords: perf:pageload
Whiteboard: [qf:p2:pageload]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.