Chevrotain
Home
Features
Tutorial
Guide
FAQ
Changes
APIs
Playground
Benchmark
Discussions
GitHub
Home
Features
Tutorial
Guide
FAQ
Changes
APIs
Playground
Benchmark
Discussions
GitHub
  • Features

    • Blazing Fast
    • LL(K) Grammars
    • Separation of Grammar and Semantics
    • Easy Debugging
    • Fault Tolerance
    • Multiple Start Rules
    • Customizable Error Messages
    • Parameterized Rules
    • Gates
    • Syntactic Content Assist
    • Grammar Inheritance
    • Backtracking
    • Syntax Diagrams
    • RegExp Based Lexers
    • Position Tracking
    • Token Alternative Matches
    • Token Skipping
    • Token Categories
    • Token Grouping
    • Custom Token Patterns
    • Lexer Modes

Blazing Fast

Chevrotain treats performance as a feature, not as a secondary concern. This means that a great deal of work has gone into profiling and optimization with a focus on the V8 JavaScript engine. It also means that new features are also considered in terms of performance cost.

The result of this work is that Chevrotain is Blazing Fast it is several times faster than most other JavaScript parsing libraries and can even be one order of magnitude faster than some popular ones.

See results of the performance benchmark on Chrome 67 (V8 6.7.288.46): Benchmark

Or run the benchmark yourself.

Edit this page on GitHub
Last Updated: 2/28/21, 11:53 PM
Contributors: Shahar Soel, bd82
Next
LL(K) Grammars