ludic/packages/ludic.physics/tests
Orkuncakilkaya e9de2b6f27 feat(ludic.physics): Jolt's heap counted in the shim (plan 25) - jph_heap_bytes/peak/allocs, phys_heap_bytes/peak/allocs
Jolt's Allocate/Reallocate/Free/AlignedAllocate/AlignedFree go to libc's malloc with the size in a
16-byte header, and atomic counters keep live bytes, the peak and the blocks asked for (its job
threads allocate too). The fence reads the three exports extern_weak to judge Jolt by its plateau.
jolt_heap_test: a ground in and out 1100 times holds 46,482,514 bytes after the first 100 and after
all of them, the peak does not move, and a closed world gives back every byte it took. The macOS
library is rebuilt; the Windows DLL still has to be rebuilt on the PC.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 15:49:38 +03:00
..
hull_shape_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
jolt_heap_test.ludic feat(ludic.physics): Jolt's heap counted in the shim (plan 25) - jph_heap_bytes/peak/allocs, phys_heap_bytes/peak/allocs 2026-09-28 15:49:38 +03:00
motion_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
physics_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00
reuse_test.ludic feat(ludic.physics): phys_own - a body owns a shape made for it alone, and phys_remove frees it with the body 2026-09-28 13:59:25 +03:00
shape_free_test.ludic feat(ludic.physics): phys_shape_free - a shape let go hands its id to the next, so a ground by chunk grows nothing (23.5) 2026-09-28 11:43:40 +03:00
walker_test.ludic ludic.physics: queries fill a record the caller keeps, and allocate nothing 2026-09-27 23:18:26 +03:00