Closed Bug 514325 Opened 16 years ago Closed 12 years ago

SS: js_ConcatStrings survey

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: wagnerg, Unassigned)

Details

Attachments

(1 file)

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.)
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.

Attachment

General

Creator:
Created:
Updated:
Size: