Skip to content

Better analytics tips - #9414

Open
ClementPasteau wants to merge 4 commits into
masterfrom
improve-analytics
Open

ClementPasteau wants to merge 4 commits into
masterfrom
improve-analytics

Conversation

@ClementPasteau

Copy link
Copy Markdown
Collaborator

No description provided.

@ClementPasteau
ClementPasteau requested a review from 4ian as a code owner November 25, 2026 12:23
@github-actions

Copy link
Copy Markdown
Contributor

⏱️ Game engine benchmarks: ✅ no significant change on the 39 benchmarks

All the 39 benchmarks and how they are measured
Benchmark Base This version Change Range between rounds
≈ NavMesh: first build of a 4096x4096 terrain 33.4ms 33.0ms -1.1% -36.0% to +23.9%
≈ NavMesh: 10 boxes moving on a 4096x4096 terrain (1 second of frames) 18.5ms 18.5ms -0.1% -1.3% to +2.1%
≈ platformer objects jumping in loop(1000x) 107.8ms 107.6ms -0.2% -11.2% to +1.8%
≈ hitBoxesCollisionTest of 10 objects with 10 objects(10000x) 59.7ms 59.5ms -0.4% -3.8% to +0.3%
≈ hitBoxesCollisionTest of 30 objects with 30 objects(1112x) 18.0ms 18.0ms -0.1% -5.0% to +0.8%
≈ hitBoxesCollisionTest of 100 objects with 100 objects(100x) 5.956ms 5.935ms -0.4% -5.7% to +1.1%
≈ hitBoxesCollisionTest of 500 objects with 500 objects(4x) 1.320ms 1.411ms +6.9% -15.5% to +13.3%
≈ hitBoxesCollisionTest of 1000 objects with 1000 objects(1x) 0.784ms 0.779ms -0.6% -5.2% to +1.3%
≈ hitBoxesCollisionTest of 1 object with 1000 objects(1000x) 39.7ms 40.2ms +1.2% -2.1% to +3.2%
≈ hitBoxesCollisionTest of 10 objects with 1000 objects(100x) 8.144ms 8.176ms +0.4% -5.4% to +2.0%
≈ hitBoxesCollisionTest of 1000 objects with 1 object(1000x) 41.9ms 42.0ms +0.2% -0.4% to +3.2%
≈ hitBoxesCollisionTest of 500 objects with themselves(4x) 0.898ms 0.889ms -1.0% -4.6% to +2.0%
≈ setAngle and setLength(100000x) 9.495ms 9.496ms +0.0% -0.1% to +0.2%
≈ convertCoords(100000x) 17.1ms 17.1ms -0.0% -1.2% to +0.6%
≈ convertInverseCoords(100000x) 17.1ms 17.1ms -0.0% -0.1% to +0.0%
≈ collisionTest between two overlapping rectangles(120000x) 36.0ms 35.7ms -0.7% -7.8% to +2.7%
≈ collisionTest between two non overlapping rectangles(120000x) 8.865ms 8.821ms -0.5% -1.7% to +1.1%
≈ getAABB of a non rotated, default center(180000x) 16.2ms 16.2ms -0.1% -1.3% to +2.5%
≈ getAABB of a rotated, default center(180000x) 16.2ms 16.2ms -0.1% -1.3% to +2.5%
≈ getAABB of a non rotated, non default center(180000x) 17.3ms 17.3ms -0.2% -1.1% to +0.4%
≈ getAABB of a rotated, non default center(180000x) 47.4ms 47.4ms -0.0% -0.2% to +1.7%
≈ getAABB of a non rotated sprite, with custom hitboxes, origin and center(60000x) 16.4ms 16.5ms +0.9% -2.0% to +2.5%
≈ getAABB of a rotated sprite, with custom hitboxes, origin and center(60000x) 53.4ms 53.6ms +0.4% -0.6% to +0.7%
≈ get(400000x) 9.433ms 9.447ms +0.2% -0.6% to +0.5%
≈ Scene: Static sprites (10000) 5.248ms 5.890ms +12.2% -17.2% to +24.1%
≈ Scene: Moving and rotating sprites (5000) 6.356ms 6.910ms +8.7% -6.9% to +35.7%
≈ Scene: Collisions and separation (500 vs 500) 11.0ms 11.5ms +3.8% -7.5% to +7.7%
≈ Scene: Physics 2D (500 bodies) 2.979ms 3.030ms +1.7% -1.5% to +14.7%
≈ Scene: Physics 3D (500 bodies) 9.848ms 9.760ms -0.9% -11.1% to +13.6%
≈ Scene: Platformer characters (300) 0.897ms 0.901ms +0.4% -18.2% to +12.5%
≈ Scene: Text updates (1000) 48.6ms 49.3ms +1.4% -3.5% to +3.4%
≈ Scene: Objects creation and deletion (100 per frame) 1.700ms 1.596ms -6.1% -26.3% to +23.1%
≈ Scene: Custom objects moving and rotating (2000) 9.886ms 10.2ms +2.7% -16.2% to +39.8%
≈ Scene: Custom objects with moving children (1000) 3.931ms 3.915ms -0.4% -52.0% to +77.4%
≈ Scene: Custom objects reading the cursor (2000) 12.0ms 10.9ms -9.3% -23.7% to +36.5%
≈ Scene: 3D custom objects moving and rotating (500) 4.885ms 4.576ms -6.3% -11.8% to +16.2%
≈ Scene: 2D lights among static obstacles (8 lights, 200 obstacles) 0.409ms 0.410ms +0.3% -8.8% to +8.3%
≈ Scene: 2D moving lights among moving obstacles (8 lights, 200 obstacles) 2.769ms 2.808ms +1.4% -3.2% to +4.0%
≈ Scene: Heavy events (variables, loops, strings) 1.324ms 1.314ms -0.8% -9.7% to +2.1%

✅ The counters (draw calls, objects count and final state) of the 15 scene benchmarks run on both versions are unchanged.

Comparing ab286d6c to its base 381cd512 (on a pull request, the version tested is the pull request merged into its base), run alternately 4 times on the same machine (AMD EPYC 9V74 80-Core Processor, 4 cores, rendering without GPU). Times are the median duration of a batch of iterations (micro benchmarks) or of a frame (scene benchmarks). A change is reported only when larger than 5% and than the differences between the rounds of a same version, and measured by every pair of rounds.

This branch has not been deployed

No deployments
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.

1 participant