Skip to content

Speedup pixel stats#147

Merged
raymondwjang merged 9 commits into
mainfrom
speedup-pixel-stats
Nov 10, 2025
Merged

Speedup pixel stats#147
raymondwjang merged 9 commits into
mainfrom
speedup-pixel-stats

Conversation

@raymondwjang
Copy link
Copy Markdown
Member

@raymondwjang raymondwjang commented Nov 6, 2025

🔍 Type of Change

🧪 Improvement: Enhancements or optimizations to existing code

📝 Description

  • Trace frame update speed up x3 (2000 frames: 27s -> 8.5s)

🧪 Testing

  • Unit tests
  • Integration tests
  • Existing tests update

🛠️ Dependencies

✅ Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

📚 Documentation preview 📚: https://cala--147.org.readthedocs.build/en/147/

@raymondwjang
Copy link
Copy Markdown
Member Author

Before:
image

After:
image

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 96.66667% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.52%. Comparing base (d23f2f2) to head (3c193ff).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
src/cala/nodes/overlap.py 92.68% 3 Missing ⚠️
src/cala/assets.py 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #147      +/-   ##
==========================================
+ Coverage   68.94%   69.52%   +0.58%     
==========================================
  Files          45       45              
  Lines        2428     2481      +53     
==========================================
+ Hits         1674     1725      +51     
- Misses        754      756       +2     
Flag Coverage Δ
unittests 69.52% <96.66%> (+0.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@raymondwjang raymondwjang linked an issue Nov 6, 2025 that may be closed by this pull request
@raymondwjang
Copy link
Copy Markdown
Member Author

raymondwjang commented Nov 7, 2025

image

pixel stats needs to be sparse

@raymondwjang
Copy link
Copy Markdown
Member Author

Some Obscure Milestone: (hit 10 fps)

image

@raymondwjang
Copy link
Copy Markdown
Member Author

down to 140 seconds without the profiler overhead

@raymondwjang raymondwjang merged commit cd56f32 into main Nov 10, 2025
15 checks passed
@raymondwjang raymondwjang deleted the speedup-pixel-stats branch November 10, 2025 02:25
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.

Optimization Points

1 participant