Skip to content

perf: optimize quantization and sampled rendering - #3

Merged
taskylizard merged 11 commits into
trunkfrom
perf/maple-core-hot-paths
Aug 14, 2026
Merged

perf: optimize quantization and sampled rendering#3
taskylizard merged 11 commits into
trunkfrom
perf/maple-core-hot-paths

perf(quantize): keep the inverse colormap min-reduce scalar

c46a929
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Aug 14, 2026 in 0s

Performance Gate Passed

⚡ 5 improved benchmarks
✅ 17 untouched benchmarks
⏩ 22 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime build_palette 1,172.2 µs 656.3 µs +78.6%
WallTime map_frame_warm_cache 391.1 µs 314.8 µs +24.25%
WallTime composite_sampled 4.4 ms 3.8 ms +15.68%
WallTime gif_animation 197.5 ms 179.5 ms +10.08%
👁 WallTime map_frame_cold_cache 1,322.6 µs 767.3 µs +72.38%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing perf/maple-core-hot-paths (c46a929) with trunk (e514776)

Open in CodSpeed

Footnotes

  1. 22 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.