mirror of
https://github.com/KarolS/millfork.git
synced 2025-04-11 23:37:15 +00:00
6502: Better descriptions of benchmarked tests
This commit is contained in:
parent
453ce93952
commit
6d7643b817
@ -16,11 +16,11 @@ object EmuBenchmarkRun {
|
||||
println(f"After inlining: $t2%7d")
|
||||
println(f"Gain: ${(100L * (t0 - t1) / t0.toDouble).round}%7d%%")
|
||||
println(f"Gain with inlining: ${(100L * (t0 - t2) / t0.toDouble).round}%7d%%")
|
||||
println(f"Running unoptimized")
|
||||
println(f"Running 6502 unoptimized")
|
||||
verifier(m0)
|
||||
println(f"Running optimized")
|
||||
println(f"Running 6502 optimized")
|
||||
verifier(m1)
|
||||
println(f"Running optimized inlined")
|
||||
println(f"Running 6502 optimized inlined")
|
||||
verifier(m2)
|
||||
}
|
||||
}
|
||||
|
@ -25,11 +25,11 @@ object EmuCmosBenchmarkRun {
|
||||
println(f"Gain unopt->NMOS: ${(100L*(t0-t1)/t0.toDouble).round}%7d%%")
|
||||
println(f"Gain unopt->CMOS: ${(100L*(t0-t2)/t0.toDouble).round}%7d%%")
|
||||
println(f"Gain NMOS->CMOS: ${(100L*(t1-t2)/t1.toDouble).round}%7d%%")
|
||||
println(f"Running unoptimized")
|
||||
println(f"Running 6502 unoptimized")
|
||||
verifier(m0)
|
||||
println(f"Running NMOS-optimized")
|
||||
println(f"Running 6502 optimized")
|
||||
verifier(m1)
|
||||
println(f"Running CMOS-optimized")
|
||||
println(f"Running 65C02 optimized")
|
||||
verifier(m2)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user