diff options
| author | Peter Fors <peter.fors@mindkiller.com> | 2025-10-29 06:00:20 +0100 |
|---|---|---|
| committer | Peter Fors <peter.fors@mindkiller.com> | 2025-10-29 06:00:20 +0100 |
| commit | 26fb39ae33d1c16ba1d64165fe9ad327a94220cb (patch) | |
| tree | 6927808a2d32cfa0ec703875a693f6b64fe372b2 /mknes.c | |
| parent | a3087dd6d0938056f7f0e3d89e60f36e56ac27d2 (diff) | |
Finally back above 3000fps - this was a lot of work
vital@claybabble:/work/current/mknes(master*|u=)$ ./Bench.sh
Performance counter coverage: 100% (no multiplexing - full precision)
352509230343 instructions # 4.81 insn per cycle
# 0.01 stalled cycles per insn
73277044838 cycles # 5.416 GHz
2957685039 stalled-cycles-frontend # 4.04% frontend cycles idle
70065301653 branches # 5.179 G/sec
297927451 branch-misses # 0.43% of all branches
Throughput: 26056.16 MIPS, 5416.36 Mcycles/sec
cycles/frame mean= 1788990 sd= 2803 relSD=0.157% n=10
insn/frame mean= 8606182 sd= 0 relSD=0.000% n=10
time (ms) mean= 1352.883 sd= 2.140 relSD=0.158% n=10
FPS (frames/second) = 3027.61
ms/frame = 0.330294
Diffstat (limited to 'mknes.c')
| -rw-r--r-- | mknes.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -58,8 +58,8 @@ static void audio_callback(int16_t *data, size_t frames) { } #ifdef BENCHMARK // Embed the ROM for benchmarking to eliminate file I/O overhead // Uncomment the ROM you want to benchmark: -// INCBIN_BYTES(benchmark_rom, "data/Life Force (USA).nes"); -INCBIN_BYTES(benchmark_rom, "data/0000/Super Mario Bros. (World) (HVC-SM).nes"); +INCBIN_BYTES(benchmark_rom, "data/Life Force (USA).nes"); +// INCBIN_BYTES(benchmark_rom, "data/0000/Super Mario Bros. (World) (HVC-SM).nes"); // INCBIN_BYTES(benchmark_rom, "data/0003/Gradius (USA).nes"); #endif @@ -271,7 +271,7 @@ int main(int argc, char **argv) { // ines2_load(nstate, "data/0000/Excitebike (Japan, USA).nes"); // ines2_load(nstate, "data/0000/Ice Climber (USA, Europe, Korea).nes"); // ines2_load(nstate, "data/0000/Kung Fu (Japan, USA).nes"); - // ines2_load(nstate, "data/0000/Super Mario Bros. (World) (HVC-SM).nes"); + ines2_load(nstate, "data/0000/Super Mario Bros. (World) (HVC-SM).nes"); // ines2_load(nstate, "data/Super Mario Bros. (W) (V1.0) [!].nes"); // ines2_load(nstate, "data/Super Mario Bros. (JU) [!].nes"); // ines2_load(nstate, "data/0000/Urban Champion (World).nes"); @@ -293,7 +293,7 @@ int main(int argc, char **argv) { // ines2_load(nstate, "data/0000/Xevious - The Avenger (USA).zip"); // ines2_load(nstate, "data/tv.nes"); - ines2_load(nstate, "data/Life Force (USA).nes"); // 2002 + // ines2_load(nstate, "data/Life Force (USA).nes"); // 2002 // ines2_load(nstate, "data/0003/Flipull - An Exciting Cube Game (Japan) (En).zip"); // ines2_load(nstate, "data/0003/Friday the 13th (USA).zip"); |
