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

Add environment variable to disable runtime exceptions and update documentation #320

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

flferretti
Copy link
Collaborator

@flferretti flferretti commented Dec 18, 2024

Since from an analysis of the flamegraph, it looks like the exceptions could slow down the speed of the library, I thought it would be nice to manually disable them for better performance. This PR adds a new environment variable, JAXSIM_DISABLE_EXCEPTIONS, to disable runtime exceptions from the jaxsim.exceptions module, updates the documentation to reflect this change and improve formatting for clarity.


📚 Documentation preview 📚: https://jaxsim--320.org.readthedocs.build//320/

@flferretti flferretti requested a review from xela-95 as a code owner December 18, 2024 10:44
@flferretti flferretti self-assigned this Dec 18, 2024
@flferretti flferretti enabled auto-merge December 20, 2024 09:47
@flferretti flferretti merged commit c26f27d into main Dec 20, 2024
24 checks passed
@flferretti flferretti deleted the disable_exceptions branch December 20, 2024 09:57
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.

2 participants