Closed Bug 483920 Opened 16 years ago Closed 16 years ago

TM: massive slowdown in string-unpack-code in TM tip

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gal, Assigned: dmandelin)

Details

(Keywords: fixed1.9.1, Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file)

It takes 30s or so to complete. whale:src gal$ TRACEMONKEY=stats ./Darwin_DBG.OBJ/js -j t/string-unpack-code.js recorder: started(8), aborted(0), completed(50), different header(0), trees trashed(0), slot promoted(0), unstable loop variable(0), breaks(0), returns(0), unstableInnerCalls(0) monitor: triggered(100), exits(100), type mismatch(0), global mismatch(0)
I think the following patch caused this: http://hg.mozilla.org/tracemonkey/rev/c923f9ce63ee
Attached patch PatchSplinter Review
Of course, it always helps to actually save the entire regexp source if you're going to compare using the whole thing.
Assignee: general → dmandelin
Status: NEW → ASSIGNED
Attachment #367943 - Flags: review?(gal)
Comment on attachment 367943 [details] [diff] [review] Patch re_length - 1 looks wrong to me.
Comment on attachment 367943 [details] [diff] [review] Patch no wait its correct. we have [1] already in the struct since msvc doesn't understand [0]. landing for dmandelin.
Attachment #367943 - Flags: review?(gal) → review+
http://hg.mozilla.org/tracemonkey/rev/9e1d2f3f8278 I wonder whether this bug has anything to do with the slowdown we sometimes observed in regexp-dna in the browser?
Whiteboard: fixed-in-tracemonkey
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: