Test case name | Result |
---|---|
webcomponents/URL module | |
uri-parse module | |
url-parse module | |
urlparser module | |
BNF from RFC 3986 | |
RegExp from RFC 3986 plus additional checks | |
BNF from RFC 2396 | |
native browser URL |
Test name | Executions per second |
---|---|
webcomponents/URL module | 15528.2 Ops/sec |
uri-parse module | 25423.6 Ops/sec |
url-parse module | 12276.9 Ops/sec |
urlparser module | 606363.9 Ops/sec |
BNF from RFC 3986 | 5284.0 Ops/sec |
RegExp from RFC 3986 plus additional checks | 54491.9 Ops/sec |
BNF from RFC 2396 | 3966.2 Ops/sec |
native browser URL | 13536.6 Ops/sec |