Replying to Avatar fiatjaf

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.

BenchmarkParseMessage/golang-24 100 11935651 ns/op

BenchmarkParseMessage/simdjson-24 32 128227596 ns/op

Reply to this note

Please Login to reply.

Discussion

No replies yet.