summaryrefslogtreecommitdiff
path: root/mknes_bench.c
Commit message (Collapse)AuthorAgeFilesLines
* Rearranged the ppu_state to be even more cacheline aware, gained another 1% ↵Peter Fors2025-11-141-4/+4
| | | | performance
* small optimizations of sprite evaluation in ppu_render_pixelPeter Fors2025-10-281-70/+129
|
* Changes to layoutPeter Fors2025-10-261-11/+9
|
* Refactor benchmarking to self-contained C implementationPeter Fors2025-10-251-0/+323
- Add mknes_bench.c with direct PMC access via perf_event_open() - Remove dependency on external perf/awk for statistics - Add RT priority and CPU affinity control in C code - Use static BSS allocation (page-aligned) instead of malloc - Add stalled-cycles-backend counter (gracefully handles AMD unavailability) - Add throughput metrics (MIPS, Mcycles/sec) - Optimize Bench.sh to only regenerate profile data when needed - Add -n and -f flags for configurable runs and frames - Suppress mapper messages during benchmark - ~6x faster benchmark workflow (20s first run, 16s subsequent)