• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

excaliburjs / Excalibur / 9720272804 / 1
89%
main: 89%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2024 12:59AM UTC
Files 217
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jun 2024 12:55AM UTC coverage: 90.515% (-0.8%) from 91.348%
9720272804.1

push

github

web-flow
perf: Hash Grid Broadphase + Hot Path Allocation Reduction (#3071)

This PR explores a different data structure for handling large numbers of colliders in the scene at a time efficiently.

* New features
  - Query colliders directly on the `PhysicsWorld`
      ```typescript
      const scene = ...;
      const colliders = scene.physics.query(ex.BoundingBox.fromDimensions(...));
      ```

* New `SparseHashGrid` data structure
  - Used as the new default for the collision broadphase which is faster performing than the dynamic try
  - Used in the `PointerSystem` to improve pointer dispatch when there are a lot of entities

* More allocation reduction
  - New pool type `RentalPool`
  - `Transform` refactoring to remove 
  - `AffineMatrix`
  - Graphics context state/Transform stack hot path allocations pooling 

* Perf improvements to `CircleCollider` bounds calculations
* Switch from iterators to c-style loops which bring more speed
  - `Entity` component iteration
  - `EntityManager` iteration
  - `EventEmitter`s
  - `GraphicsSystem` entity iteration
  - `PointerSystem` entity iteration

5549 of 7074 branches covered (78.44%)

12358 of 13653 relevant lines covered (90.51%)

25048.15 hits per line

Source Files on job 9720272804.1
  • Tree
  • List 0
  • Changed 90
  • Source Changed 18
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 9720272804
  • 6db28e15 on github
  • Prev Job for on main (#9704956178.1)
  • Next Job for on main (#9720272808.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc