Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Optimizations for 0.14.0 release. #272

Merged
merged 1 commit into from
Sep 3, 2016
Merged

Performance Optimizations for 0.14.0 release. #272

merged 1 commit into from
Sep 3, 2016

Conversation

bd82
Copy link
Member

@bd82 bd82 commented Sep 3, 2016

  • Optimized lookahead functions for common case of K == 1.
  • Partial Workaround lack of optimizations for TRY/CATCH in V8.
  • Use NOOP functions for optional features, these NOOP functions
    should be inlined by an optimizing compiler thus effectively
    not existing...
  • Other micro optimizations.

Performance Gains depend on the complexity of the grammar and the relationship
between lexing and parsing time in each specific use case (grammar).
For complex grammars as much as 12% boost has been benchmarked.

* Optimized lookahead functions for common case of K == 1.
* Partial Workaround lack of optimizations for TRY/CATCH in V8.
* Use NOOP functions for optional features, these NOOP functions
  should be inlined by an optimizing compiler thus effectively
  not existing...
* Other micro optimizations.

Performance Gains depend on the complexity of the grammar and the relationship
between lexing and parsing time in each specific use case (grammar).
For complex grammars as much as 12% boost has been benchmarked.
@bd82 bd82 merged commit e00b5b9 into master Sep 3, 2016
@bd82 bd82 deleted the perf_opt branch September 3, 2016 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant