Speed Comparison keeps everything in perspective

Please wait...

Warning: Since each parser may have a different format for the syntax tree, the speed is not fully comparable (the cost of constructing different result is obviously varying). These tests exist only to ensure that Esprima parser is not ridiculously slow compare to other parsers.

More info on the parsers:

Each parser produces the syntax tree with location marking in every syntax node.

Time measurement is carried out using Benchmark.js.