mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-28 20:17:18 -06:00
Merge PR #1313
This commit is contained in:
@@ -250,6 +250,13 @@ Remaining differences come from f32 vs f64 coordinate math, fast-math transcende
|
||||
Metal and running-sum order in the box filters — all far below one 8-bit step.
|
||||
|
||||
## Measurements
|
||||
**In the app:** Help ▸ Debug ▸ Show Frame Rate (`view.frameRate`, `{show?}`; `LIGHTCRAFT_FPS=1`
|
||||
starts with it on, never saved) draws frames per second, each frame's UI CPU time against its
|
||||
time spent waiting (for vsync, or for the GPU), the latest whole-frame and zoom-window render
|
||||
times, the render queue, renders thrown away as superseded, the GPU adapter and its memory, and a
|
||||
graph of the last frames with a tick where a render arrived. Once a second it logs the same
|
||||
numbers (`fps-hud:`), so a scripted drag (`ui.dragWidget`) can be measured from the log.
|
||||
|
||||
`render_bench` on `corpus/raw/arw-sony-a7m3-compressed.arw` (24 MP; loupe = 2560 px preview →
|
||||
1920×1280), min of 7 runs, wall clock, on a heavily shared machine (load average 60–110 on 14 cores,
|
||||
so CPU numbers are pessimistic; the GPU numbers are less affected):
|
||||
|
||||
Reference in New Issue
Block a user