cpu: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
BenchmarkParseMessage/golang-8 178 6702851 ns/op
BenchmarkParseMessage/simdjson-8 21 50804755 ns/op
git clone https://github.com/nbd-wtf/go-nostr
cd go-nostr
go test -bench=BenchmarkParseMessage -run=NothingAtAll -v
Please run this and let me know if the "simd" variant is faster or slower than the "golang" variant. From my tests one or the other will be many times faster than the other depending on the machine, I don't understand why, so maybe we can get some patterns. Thank you.
cpu: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
BenchmarkParseMessage/golang-8 178 6702851 ns/op
BenchmarkParseMessage/simdjson-8 21 50804755 ns/op
No replies yet.