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

perf(translator): increase performance #204

Merged
merged 1 commit into from
Mar 22, 2024
Merged

perf(translator): increase performance #204

merged 1 commit into from
Mar 22, 2024

Conversation

pythonbrad
Copy link
Owner

@pythonbrad pythonbrad commented Mar 22, 2024

Related issues

Description

Since some Rhai features are optional for us, the objective is to remove them and assess the improvement that we can achieve.

Change

By disabling some Rhai features, we have seen an improvement of ~30%.

Impact

  • We have lost the ability to track the position during debugging of the Rhai script.
    Before: Expecting ';' to terminate this statement (line 5, position 3)
    Now: Expecting ';' to terminate this statement

@pythonbrad pythonbrad self-assigned this Mar 22, 2024
@coveralls
Copy link

coveralls commented Mar 22, 2024

Pull Request Test Coverage Report for Build 8396573923

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.004%) to 98.854%

Totals Coverage Status
Change from base Build 8395411591: -0.004%
Covered Lines: 1467
Relevant Lines: 1484

💛 - Coveralls

In disabling some rhai features, we got an improvement of ~30%.
@pythonbrad pythonbrad merged commit aa0e409 into main Mar 22, 2024
6 checks passed
@pythonbrad pythonbrad deleted the patch branch March 22, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

impact of rhai in the Translator performance
2 participants