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

Optimize metalanguage parser (#92) #124

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Conversation

jhnaldo
Copy link
Contributor

@jhnaldo jhnaldo commented Dec 12, 2022

This PR resolved issue #92.
Before applying this optimization, the evaluation result of Extractor for es2022 is as follows:

$ esmeta extract -extract:eval -silent
# extracting specification... (5,179 ms)
# - # of actual parsing: 3,240,105
# - # of using cached result: 1,889,181

However, after applying this optimization, the evaluation results becomes as follows:

$ esmeta extract -extract:eval -silent
# extracting specification... (4,288 ms)
# - # of actual parsing: 2,958,742
# - # of using cached result: 1,344,528

@jhnaldo jhnaldo merged commit 978c396 into dev Dec 12, 2022
@jhnaldo jhnaldo deleted the dev-optimization-lang-parser branch December 12, 2022 09:37
@jhnaldo jhnaldo added enhancement Enhance the quality of a feature area:lang Related to metalanguage labels Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:lang Related to metalanguage enhancement Enhance the quality of a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants