Open romshark opened 1 year ago
Eliminating unnecessary jump in number parser:
goos: darwin
goarch: arm64
pkg: github.com/romshark/jscan/v2
│ large_old.txt │ large_new.txt │
│ sec/op │ sec/op vs base │
Valid/large_26m_____________-10 11.18m ± 0% 11.17m ± 0% -0.14% (p=0.002 n=12)
goos: darwin
goarch: arm64
pkg: github.com/romshark/jscan/v2
│ arrint_old.txt │ arrint_new.txt │
│ sec/op │ sec/op vs base │
Valid/array_int_1024_12k____-10 9.621µ ± 1% 9.202µ ± 1% -4.36% (p=0.000 n=12)
goos: darwin
goarch: arm64
pkg: github.com/romshark/jscan/v2
│ small_old.txt │ small_new.txt │
│ sec/op │ sec/op vs base │
Valid/small_336b____________-10 217.0n ± 0% 216.1n ± 0% -0.39% (p=0.001 n=12)
goos: darwin
goarch: arm64
pkg: github.com/romshark/jscan/v2
│ nasa_old.txt │ nasa_new.txt │
│ sec/op │ sec/op vs base │
Valid/nasa_SxSW_2016_125k___-10 80.13µ ± 0% 79.85µ ± 0% -0.34% (p=0.000 n=12)
Apple M1: