You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to see the amount of time the regex engine spent processing my test
regex on the test text. it doesn't need to be anything precise, just a means of
comparing the performance of one regular expression in relation to another.
Perhaps it could be displayed in the yellow bar in bold.
Something like this,
Execution Time : (~12ms for 100 runs)
Original issue reported on code.google.com by [email protected] on 19 Oct 2011 at 6:12
The text was updated successfully, but these errors were encountered:
This is generally a bad idea because comparing regexes against each other is
more difficult than most people realize. You have to account for various
lengths of subject text that match, don't match, and nearly match. Also,
internal regex engine optimizations can change between browsers and browser
versions. I'm not ruling out a feature like this, but it sounds like a footgun
that would mostly be used to spread misinformation about regex performance.
Original issue reported on code.google.com by
[email protected]
on 19 Oct 2011 at 6:12The text was updated successfully, but these errors were encountered: