bench(flatten): add FLATTEN metrics with extracted helpers

Moves the flatten projection fns and command helpers into modules/draw/modify/flatten.rs (behavior unchanged) and adds flatten_plan / flatten_scene_apply to the COMMANDS suite.
This commit is contained in:
Karim Jerbi committed 2026-09-28 20:29:39 +01:00
1 parent 51d26eb81f
commit 91900c4e73
5 files changed
+660 -452

No files matched your search

+3 -2
View File
@@ -68,8 +68,9 @@ cargo bench --bench performance_benchmarks -- --quick
## Command Benchmarks
First benchmarked command: **EXPLODE** (metrics `explode_geometry`,
`explode_scene_apply`).
First benchmarked commands: **EXPLODE** (metrics `explode_geometry`,
`explode_scene_apply`) and **FLATTEN** (metrics `flatten_plan`,
`flatten_scene_apply`).
```bash
cargo bench --bench command_benchmarks -- --filter explode