Regexp vs Parser
JavaScript performance comparison
Info
Comparing a parser written with regexp's with a proper parser.
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Regexp Parser |
|
pending… |
Real Parser with "case" |
|
pending… |
Real Parser with "if" |
|
pending… |
Compare results of other browsers
Revisions
You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:
- Revision 1: published by Jamie Hill
- Revision 2: published by Jamie Hill
- Revision 4: published
- Revision 5: published by Jamie Hill
- Revision 6: published by Jamie Hill
- Revision 7: published by Jamie Hill
0 comments