From d61fa875e3c121cf9f26fe278fd825947b818992 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Sat, 3 Oct 2026 23:10:21 +0200 Subject: [PATCH] Record cross-platform header allocations and final runtime validation --- .../object-headers-2026-10-03/macos-26.txt | 104 ++++++++++++++++++ .../ubuntu-latest.txt | 104 ++++++++++++++++++ .../windows-latest.txt | 104 ++++++++++++++++++ docs/compact-headers.md | 8 +- docs/playable-validation.md | 15 +++ 5 files changed, 334 insertions(+), 1 deletion(-) create mode 100644 benchmarks/object-headers-2026-10-03/macos-26.txt create mode 100644 benchmarks/object-headers-2026-10-03/ubuntu-latest.txt create mode 100644 benchmarks/object-headers-2026-10-03/windows-latest.txt diff --git a/benchmarks/object-headers-2026-10-03/macos-26.txt b/benchmarks/object-headers-2026-10-03/macos-26.txt new file mode 100644 index 000000000..05395d957 --- /dev/null +++ b/benchmarks/object-headers-2026-10-03/macos-26.txt @@ -0,0 +1,104 @@ +Java openjdk 25.0.4.1 2026-08-18 LTS +Platform Darwin 25.6.0 arm64; logical CPUs 3 +fork=0 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=0 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=1 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=1 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=2 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=2 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 diff --git a/benchmarks/object-headers-2026-10-03/ubuntu-latest.txt b/benchmarks/object-headers-2026-10-03/ubuntu-latest.txt new file mode 100644 index 000000000..e8b4bb484 --- /dev/null +++ b/benchmarks/object-headers-2026-10-03/ubuntu-latest.txt @@ -0,0 +1,104 @@ +Java openjdk 25.0.4.1 2026-08-18 LTS +Platform Linux 6.17.0-1022-azure x86_64; logical CPUs 4 +fork=0 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=0 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=1 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=1 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=2 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=2 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 diff --git a/benchmarks/object-headers-2026-10-03/windows-latest.txt b/benchmarks/object-headers-2026-10-03/windows-latest.txt new file mode 100644 index 000000000..16ce4a844 --- /dev/null +++ b/benchmarks/object-headers-2026-10-03/windows-latest.txt @@ -0,0 +1,104 @@ +Java openjdk 25.0.4.1 2026-08-18 LTS +Platform Windows 2025Server AMD64; logical CPUs 4 +fork=0 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=0 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=1 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=1 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +fork=2 requested_compact_headers=False +compact_object_headers=false +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=AABB objects=100000 allocated_bytes=6400000 bytes_per_object=64.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=Vec3 objects=100000 allocated_bytes=4000000 bytes_per_object=40.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +fork=2 requested_compact_headers=True +compact_object_headers=true +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=AABB objects=100000 allocated_bytes=5600000 bytes_per_object=56.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=Vec3 objects=100000 allocated_bytes=3200000 bytes_per_object=32.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=DhChunkPos objects=100000 allocated_bytes=2400000 bytes_per_object=24.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Long objects=100000 allocated_bytes=1600000 bytes_per_object=16.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 +type=Object objects=100000 allocated_bytes=800000 bytes_per_object=8.000 diff --git a/docs/compact-headers.md b/docs/compact-headers.md index 03b814a85..4261236df 100644 --- a/docs/compact-headers.md +++ b/docs/compact-headers.md @@ -40,7 +40,8 @@ volatile array, and their values are checked after measurement. The benchmark asserts that the running VM reports the requested flag. Output includes Java/OS/CPU architecture and goes to gitignored `dist/object-header-benchmark.txt`. -The local Linux x64 Java 25 measurements yielded: +Local Linux x64 and hosted Linux x64, Windows x64 and Apple Silicon macOS 26 +measurements yielded the same medians: | Type | Headers off, bytes/object | Headers on, bytes/object | | --- | ---: | ---: | @@ -50,6 +51,11 @@ The local Linux x64 Java 25 measurements yielded: | Boxed `Long`, outside cache | 24 | 16 | | Plain `Object` | 16 | 8 | +[Raw platform results](../benchmarks/object-headers-2026-10-03) come from +[CI run 37153955462](https://github.com/ludovic111/minecraft-optimization-lab/actions/runs/37153955462). +Each platform has nine measured batches per type/mode across three JVM forks. +The hosted ARM Mac has three logical CPUs and is not the user's M2 Pro. + These are allocations for specific object layouts, not a measured reduction in whole-game retained heap, process RSS, FPS or server TPS. Changing headers can also change runtime tradeoffs. Real workloads and the user's M2 Pro remain the diff --git a/docs/playable-validation.md b/docs/playable-validation.md index fcaef5b72..78cffdfd7 100644 --- a/docs/playable-validation.md +++ b/docs/playable-validation.md @@ -22,6 +22,21 @@ Version 0.2.0 targets Minecraft 26.3 / Fabric 0.19.5 / Java 25. This is an initi ## Interpretation limits +The exact 0.8.0 JAR (SHA-256 +`b674be112cd148406b6b79c14f54b91a4da1ac0e03fe744aaee857c5a51eae8a`) +loaded the complete adaptive-queue stack with compact headers enabled. A fresh +options file retained custom graphics preset, render distance 12 and simulation +distance 12 in the actual frame report. The 120-second run produced 793 frame +intervals and 2,409 server-tick samples; CSV counts and mean durations match JSON. +Both reports captured compact headers as true, G1 collector names and 120 RSS +samples. The offline viewer displayed these actual settings, RSS and CSV charts; +general frame/tick, invalid-input, escaping and mobile checks also passed. +World/database shutdown completed cleanly. This software-rendered integration +test is not a matched RAM/FPS comparison. Cross-platform builds, native-reader +tests, metrics under compact headers, isolated allocation probes and 20 Python +tests passed on Linux, Windows and hosted Apple Silicon macOS 26. See +[object layouts and measurement limits](compact-headers.md). + Generated pack options now carry data version 5023, verified against `version.json` inside the checksum-verified Minecraft 26.3 JAR. Without this marker, the game's legacy-options migration reset the intended backend to Default. The fixed Vulkan