Closed Bug 1874634 Opened 4 months ago Closed 4 months ago

JS demo is 50% slower in Nightly and spends a lot of time in Baseline

Categories

(Core :: JavaScript Engine, task)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Summary: JS demo is 50% faster in Chrome adn Nightly spens a lot of time in Baseline → JS demo is 50% slower in Nightly and spends a lot of time in Baseline

A lot of time in the draw function. It's slow because it has a with statement:

function draw() {
	marx = width / mx;
  mary = height / my;
  for(let i = 0; i < pos.length; i++){
		with(pos[i]){

Should i close as wontfix?

I should close as wontfix

Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.