Skip to content

Optimize bit pool for world lock#511

Draft
mlange-42 wants to merge 2 commits into
mainfrom
optimize-bit-pool
Draft

Optimize bit pool for world lock#511
mlange-42 wants to merge 2 commits into
mainfrom
optimize-bit-pool

Conversation

@mlange-42

Copy link
Copy Markdown
Owner

No description provided.

@mlange-42 mlange-42 self-assigned this Jun 2, 2026
@mlange-42 mlange-42 added the performance Performance optimizations label Jun 2, 2026
@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f00c5d7) to head (ec5d8ef).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #511   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           39        39           
  Lines         8435      8429    -6     
=========================================
- Hits          8435      8429    -6     

☔ 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.
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

⚠️ 1 benchmark regressions detected!

Click to expand benchmark results

Time is per entity/N, allocations are totals. Allocations are only shown for current.

N       Time main             Time curr           Factor         Allocs         Bytes    
Add/Remove 1 of 2
10 104.17ns 106.84ns 1.03 0 0
1000 102.43ns 101.94ns 1.00 0 0
Add/Remove 1 of 2 non-trivial
10 116.22ns 124.59ns 1.07 0 0
1000 113.96ns 118.88ns 1.04 0 0
Add/Remove batch 1 of 11
10 70.12ns 69.17ns 0.99 0 0
1000 20.04ns 20.45ns 1.02 0 0
100000 33.13ns 31.16ns 0.94 0 0
Add/Remove batch 1 of 2
10 26.59ns 25.27ns 0.95 0 0
1000 9.30ns 8.79ns 0.94 0 0
100000 10.01ns 10.04ns 1.00 0 0
Add/Remove batch 1 of 2 non-trivial
10 49.19ns 50.90ns 1.03 0 0
100 28.52ns 28.52ns 1.00 0 0
1000 25.60ns 25.60ns 1.00 0 0
100000 26.34ns 26.19ns 0.99 0 0
NewBatch 2 Comp
10 46.80ns 50.97ns 1.09 0 0
1000 9.60ns 9.33ns 0.97 0 0
NewBatch 5 Comp
10 47.67ns 47.14ns 0.98 0 0
1000 9.69ns 9.17ns 0.95 0 0
NewEntity 2 Comp
10 69.47ns 75.23ns 1.08 0 0
1000 29.38ns 29.39ns 1.00 0 0
NewEntity 5 Comp
10 72.85ns 80.26ns ⚠️ 1.11 0 0
1000 29.64ns 29.88ns 1.01 0 0
Pos/Vel mapper
10 7.05ns 7.62ns 1.08 0 0
1000 7.88ns 7.83ns 0.99 0 0
100000 16.64ns 16.34ns 0.98 0 0
Pos/Vel query entities
10 7.81ns 7.75ns 0.99 0 0
1000 1.92ns 1.84ns 0.96 0 0
100000 1.79ns 1.79ns 1.00 0 0
Pos/Vel query tables
10 7.25ns 7.39ns 1.02 0 0
1000 0.84ns 0.84ns 1.00 0 0
100000 0.81ns 0.81ns 1.00 0 0
Query create + close
1 36.89ns 35.08ns 0.95 0 0
Query(reg) create + close
1 38.70ns 36.77ns 0.95 0 0
RemoveEntity 2 Comp
10 63.35ns 60.02ns 0.95 0 0
1000 22.92ns 20.81ns 0.91 0 0
RemoveEntity 5 Comp
10 80.14ns 83.29ns 1.04 0 0
1000 36.81ns 35.16ns 0.96 0 0
RemoveEntityBatch 2 Comp
10 55.07ns 55.19ns 1.01 0 0
1000 6.15ns 5.75ns 0.94 0 0
RemoveEntityBatch 5 Comp
10 59.33ns 58.12ns 0.99 0 0
1000 6.97ns 6.55ns 0.95 0 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance optimizations

1 participant