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.
Each parser produces the syntax tree with location marking in every syntax node.
Note: Esprima is not completely optimized for location tracking parsing yet. It still receives on-going, continuous performance tweaks.
Time measurement is carried out using Benchmark.js.
Esprima is created and mantained by Ariya Hidayat.