regular expression performance much slower in FF than Chrome
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
People
(Reporter: getify, Unassigned)
References
()
Details
Reporter | ||
Updated•11 years ago
|
Comment 1•11 years ago
|
||
Reporter | ||
Comment 2•11 years ago
|
||
Reporter | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Reporter | ||
Comment 5•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Comment 10•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•3 years ago
|
||
Hello,
was this ever solved? I think that I got hit by something similar ... big one line string and function with regular expression on it. When I append "\n" on it it seems to be quite okay (fast enough), but when it is missing it is about much slower than Chrome (500ms vs 7s on FF). Maybe it is also bug in library which is used there (I did not dig deep enough as just "\n" on end was okay), but I am wondering if it can be connected.
Comment 14•3 years ago
|
||
The RegExp engine was replaced by the one from v8 a year ago.
So the issue you are seeing might be unrelated to the original issue.
Would you mind opening a new bug with a test case which reproduces the issue you are seeing?
Comment 15•3 years ago
|
||
Ok, if I will manage to make testcase I will create new one.
Comment 16•3 years ago
|
||
This issue will not be fixed, because it concerns the previous RegExp engine which is no longer used in SpiderMonkey.
The regexp engine got replaced by v8 regexp engine, while performance differences might exists, they should no longer be attached to this old bug.
Description
•