fiatjaf on Nostr: git clone cd go-nostr go test -bench=BenchmarkParseMessage -run=NothingAtAll -v ...
git clone
https://github.com/nbd-wtf/go-nostrcd 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.
Published at
2025-02-26 22:52:43Event JSON
{
"id": "00004bdf9764e548494fcfb5bcc72d2cf70b562b5da96f2ec2b74048a3f572b2",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1740610363,
"kind": 1,
"tags": [
[
"nonce",
"9223372036854783384",
"16"
]
],
"content": "git clone https://github.com/nbd-wtf/go-nostr\ncd go-nostr\ngo test -bench=BenchmarkParseMessage -run=NothingAtAll -v\n\nPlease 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.",
"sig": "8718568878205a7674387909a785b24692188029133c6864a62f14c279f75c549ba68abe1784ae9b6c803b8c555f097cc438fa6ea0af3ca9a599190c1583cae6"
}