Skip to content

armgit / 67.js

Public Imported from GitHub
0

3D engine that AI agents drive

Update the size numbers after merging main (part of #197)

Nguyen Xuan An2cfaac84ee45
diff --git a/bench/reference/README.md b/bench/reference/README.md
index 018b9b74..4753a99b 100644
--- a/bench/reference/README.md
+++ b/bench/reference/README.md
@@ -1809,7 +1809,7 @@ Box 2, dark end (`shadow-depth.py`, display luminance, 67js before > after / Cyc
The dark percentiles move toward Cycles in every row but by small steps (p1 by 0.000 to 0.005, p25 by 0.003 to 0.004; `temple-hall` p1 is now within 0.0007 of Cycles). The lit to shadow contrast does not move (at most 0.02 log2 step), as the opt-in section said: a sky term lowers lit and shadowed tiles together. `temple-hall-b` p1 and p5 do not move because its darkest pixels are lit by its lamps, not by the sky. The contrast gap needs a deeper sun shadow, not sky light, and is still open.
-Cost, measured on a loaded machine (another heavy job ran beside, so read these as ranges; `frame-time.mjs --plain`, one run each): `temple-hall` 1.83 ms without and 2.23 ms with, `dark-shaft` 2.38 ms without and 2.11 ms with. The trace takes 1.2 s and 0.6 s when the scene is prepared. Size: `entry:floor-sky-visibility` +285 bytes gzip, `scene:agent-scene` +375 (102996 to 103371, a goal scene, over its goal of 100000), `scene:agent-scene+lazy` +3846, `scene:lit-box` 0.
+Cost, measured on a loaded machine (another heavy job ran beside, so read these as ranges; `frame-time.mjs --plain`, one run each): `temple-hall` 1.83 ms without and 2.23 ms with, `dark-shaft` 2.38 ms without and 2.11 ms with. The trace takes 1.2 s and 0.6 s when the scene is prepared. Size: `entry:floor-sky-visibility` +285 bytes gzip, `scene:agent-scene` +286 (103055 to 103341, a goal scene, over its goal of 100000), `scene:agent-scene+lazy` +3739, `scene:lit-box` 0.
Rows refreshed: `temple-hall` and `dark-shaft` in `baseline.json` (with their sheet images) and the three temple options in `grand.json`, from a Blender 5.2.2 rerun of just those scenes with the final code. The other rows, and `long-street` and `megacity-dusk-a`, which render identically, are left as they were.
diff --git a/changes/197-sun-rooms.size.md b/changes/197-sun-rooms.size.md
index 47b2275a..3b97d97a 100644
--- a/changes/197-sun-rooms.size.md
+++ b/changes/197-sun-rooms.size.md
@@ -1,3 +1,3 @@
- entry:floor-sky-visibility: +285 bytes gzip (15101 to 15386) for the onlyClosedRooms option, the room strength, the mean visibility in the report, applyDefaultFloorSky and the recipe stage with its cache
-- scene:agent-scene: +375 bytes gzip (102996 to 103371) for the floorSkyTrace field, one conditional call into the lazy module and the module entry with its markers; the sun and closed-room tests live in the lazy chunk
-- scene:agent-scene+lazy: +3846 bytes gzip (352062 to 355908), the same code plus the floor sky module loaded
+- scene:agent-scene: +286 bytes gzip (103055 to 103341) for the floorSkyTrace field, one conditional call into the lazy module and the module entry with its markers; the sun and closed-room tests live in the lazy chunk
+- scene:agent-scene+lazy: +3739 bytes gzip (359885 to 363624), the same code plus the floor sky module loaded