Closed
Bug 1925051
Opened 1 year ago
Closed 1 year ago
Avoid Mutex overhead when checking DateTime cached UTC-to-local offset
Categories
(Core :: JavaScript: Standard Library, enhancement)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
133 Branch
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: anba, Assigned: anba)
Details
Attachments
(1 file)
Date.prototype.get{FullYears,Month,Date,Hours,Minutes,Seconds} spend almost half their execution time in acquiring the DateTimeInfo::instance mutex.
| Assignee | ||
Comment 1•1 year ago
|
||
This reduces the time needed to call get{FullYears,Month,Date,Hours,Minutes,Seconds}
by 40-45%.
Pushed by andre.bargull@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/ba249529f7cc
Cache utc-to-local offset in Atomic to avoid mutex overhead. r=jandem
Comment 3•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•