Closed Bug 468347 Opened 17 years ago Closed 16 years ago

Use native JSON support for parsing JSON, if available

Categories

(Webtools Graveyard :: Graph Server, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bzbarsky, Unassigned)

Details

(Keywords: perf)

A lot of the beachballing graph server causes seems to be due to its JSON parsing. We should look into using the native JSON support Gecko has nowadays to do this faster.
OS: Mac OS X → All
Hardware: PC → All
Assignee: nobody → ccooper
Priority: -- → P2
Status: NEW → ASSIGNED
Can I get some specific examples of the beachballing? It will help me gauge progress.
STEPS TO REPRODUCE: 1) Load http://graphs.mozilla.org/ 2) Select "Tp3" in the test dropdown 3) Click "Add All" I killed my browser about 7 minutes later; in the meantime it was completely frozen up (though it took a bit to get there). You might want to restrict to trunk only or something if you want to have a shorter freeze.
Hasn't JSON.jsm been removed in 3.1? Or is there another module I should be looking at?
https://developer.mozilla.org/En/Using_JSON_in_Firefox talks about how to use the native JSON object. You'll want to use the library if the native JSON isn't present (FF < 3.1, IE < 8)
Throwing this one back in the pool. I haven't found the time to work on it.
Assignee: ccooper → nobody
Status: ASSIGNED → NEW
Priority: P2 → P3
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.