Closed
Bug 516853
Opened 16 years ago
Closed 16 years ago
TM: InitGC now takes 125ms to run on Mac
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: dmandelin, Unassigned)
Details
(Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file)
499 bytes,
patch
|
gal
:
review+
|
Details | Diff | Splinter Review |
I discovered that this:
#ifdef __APPLE__
memset((void *)rt->gcBase, 0, bytes);
#endif
adds about 1/8 of a second to startup time. This is particularly painful for running test suites requiring 100-3000 invocations.
Andreas said to take it out and file a new bug to do the memory touching more efficiently.
Attachment #400923 -
Flags: review?(gal)
Updated•16 years ago
|
Attachment #400923 -
Flags: review?(gal) → review+
Comment 1•16 years ago
|
||
The sad sob story of MacOSX page fault performance continues.
Comment 3•16 years ago
|
||
With the patch applied we only lose 9ms in the shell for SS so lets not worry too much (I don't think this affects the browser at all).
Comment 4•16 years ago
|
||
calloc?
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 6•16 years ago
|
||
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
You need to log in
before you can comment on or make changes to this bug.
Description
•