Closed
Bug 511567
Opened 15 years ago
Closed 15 years ago
atomize unit strings at birth, and bypass lock when atomizing strings of length 1
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: gal, Assigned: gal)
References
Details
(Keywords: verified1.9.2, Whiteboard: fixed-in-tracemonkey)
Attachments
(1 file, 2 obsolete files)
1.94 KB,
patch
|
shaver
:
review+
|
Details | Diff | Splinter Review |
About 50% of strings in SS are unit strings (50k). Bypassing the lock for them should be a nice win.
Assignee | ||
Updated•15 years ago
|
Assignee: general → gal
Assignee | ||
Comment 1•15 years ago
|
||
Assignee | ||
Comment 2•15 years ago
|
||
About a 5ms win for a MT shell. unpack-code: 1.044x as fast 98.6ms +/- 0.2% 94.5ms +/- 0.2% significant
Assignee | ||
Updated•15 years ago
|
Attachment #395481 -
Flags: review?(shaver)
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #395481 -
Attachment is obsolete: true
Attachment #395489 -
Flags: review?(shaver)
Attachment #395481 -
Flags: review?(shaver)
Assignee | ||
Comment 4•15 years ago
|
||
Attachment #395489 -
Attachment is obsolete: true
Attachment #395492 -
Flags: review?(shaver)
Attachment #395489 -
Flags: review?(shaver)
Comment on attachment 395492 [details] [diff] [review] patch Cool, thanks for the test. r=shaver
Attachment #395492 -
Flags: review?(shaver) → review+
Assignee | ||
Comment 6•15 years ago
|
||
http://hg.mozilla.org/tracemonkey/rev/3d98dade7db3
Whiteboard: fixed-in-tracemonkey
Comment 7•15 years ago
|
||
Good fix. Style-wise, please use (JSAtom *) prevailing style (you agreed to do this, IIRC), and four-space indentation in the test. /be
Comment 8•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3d98dade7db3
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 9•15 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/7ce136feced5
status1.9.2:
--- → beta1-fixed
Flags: wanted1.9.2+
Comment 10•15 years ago
|
||
js/src/trace-test/tests/basic/testAtomize.js v 1.9.3, 1.9.2
You need to log in
before you can comment on or make changes to this bug.
Description
•