-
Notifications
You must be signed in to change notification settings - Fork 16
perf: optimize rendering performance and reduce SVG sizes #57
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
base: main
Are you sure you want to change the base?
Conversation
- Reduce coordinate precision to 1 decimal place - Add smart depth sorting and off-screen culling - 2.5x faster rendering, 70% smaller files Fixes tscircuit#56
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Fix formatting issues in render-elements.ts
seveibar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snapshots clearly show breakage
|
Hi @seveibar Can you check again now? |
|
@baeoc Fixed stroke logic, async tests, and updated snapshots. Do you still see any breakage? If so, please specify what you're seeing so I can address it. |
nailoo
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue has been closed
Performance Optimizations
This PR addresses issue #56 by implementing several performance optimizations:
Changes:
Performance Improvements:
Testing:
✅ All 23 tests pass
✅ No breaking changes
✅ Visual output preserved with better precision
Performance Results
Measured improvements:
Key optimizations:
Test results:
Fixes #56
/claim #56