Closed
Bug 514325
Opened 16 years ago
Closed 12 years ago
SS: js_ConcatStrings survey
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: wagnerg, Unassigned)
Details
Attachments
(1 file)
|
4.52 KB,
image/png
|
Details |
Out of 205132 calls of
JSString * JS_FASTCALL
js_ConcatStrings(JSContext *cx, JSString *left, JSString *right),
138609 times the rval string has length 1. rel: 67.570637%.
A benchmark builds a huge string by just adding one all the time. (calling concatStrings for 21845 times)
Maybe a candidate for optimization?
(In the histogram, length 64 also includes all bigger strings.)
Comment 1•12 years ago
|
||
This has since been optimized.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•