Closed Bug 1813165 Opened 2 years ago Closed 2 years ago

Measure impact of Ion Off-thread compile latency

Categories

(Core :: JavaScript Engine, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: mgaudet, Assigned: mgaudet)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

Attachments

(2 files)

No description provided.
Assignee: nobody → mgaudet

This patch adds a new environment variable JS_ION_SLEEP_MULTIPLIER, which is
used to sleep an off-thread Ion compilation before it returns for some fraction
of the time that compilation took (ie, if JS_ION_SLEEP_MULTIPLIER=0.1 and
compilation took 100us, we would sleep for 10us before releasing the off-thread
compilation.)

This is to be used measuring the sensitivity of our system to Ion off-thread
compilation time.

Severity: -- → N/A
Priority: -- → P1

On Windows, std::this_thread::sleep_for() drastically hurts Speedometer
performance.

Whiteboard: [sp3]

I think we've learned what we wanted to from this bug.

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

Attachment

General

Created:
Updated:
Size: