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

excaliburjs / Excalibur / 9720272804
89%

Build:
DEFAULT BRANCH: main
Ran 29 Jun 2024 12:59AM UTC
Jobs 1
Files 217
Run time 1min
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

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%)

387 of 422 new or added lines in 19 files covered. (91.71%)

114 existing lines in 3 files now uncovered.

12358 of 13653 relevant lines covered (90.51%)

25048.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9720272804.1 29 Jun 2024 12:59AM UTC 0
90.51
GitHub Action Run
Source Files on build 9720272804
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9720272804
  • 6db28e15 on github
  • Prev Build on main (#9704956178)
  • Next Build on main (#9720272808)
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