mirror of
https://github.com/irmen/ksim65.git
synced 2024-06-01 21:41:31 +00:00
speed and size improvement by not using lambdas for all opcodes
This commit is contained in:
parent
50e454fc28
commit
0b7e91fc5c
File diff suppressed because it is too large
Load Diff
|
@ -42,11 +42,11 @@ class Test6502CpuBasics {
|
|||
cpu.PC = 0x1000
|
||||
|
||||
// warmup
|
||||
while(cpu.totalCycles<1000000)
|
||||
while(cpu.totalCycles<5000000)
|
||||
cpu.clock()
|
||||
|
||||
// timing
|
||||
val cycles = 50000000
|
||||
val cycles = 100000000
|
||||
val duration = measureNanoTime {
|
||||
while (cpu.totalCycles < cycles)
|
||||
cpu.clock()
|
||||
|
|
Loading…
Reference in New Issue
Block a user