Open Bug 1869348 Opened 5 months ago Updated 5 months ago

Nightly is 2x slower than Chrome on an online ASTexplorer tool (time spent in geenrators)

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)

Go to https://astexplorer.net/
Select "JSON" as the language
Within that, select "momoa" as the JSON parser
Paste the sample json text in the input box

Nightly: https://share.firefox.dev/47WvTQP
Chrome: https://share.firefox.dev/3GzgASd

Maybe something to improve here?

Attached file sample json text

Profile with a 8MB JSON file : https://share.firefox.dev/3RBXalH

Looks like the hottest functions here are generators, which we don't fully support in Ion because they don't get a lot of non-transpiled use in the wild.

Depends on: 1317690
Priority: -- → P3
Summary: Nightly is 2x slower than Chrome on an online ASTexplorer tool (and appears to spend time in Baseline in a lot of functions) → Nightly is 2x slower than Chrome on an online ASTexplorer tool (time spent in geenrators)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: