ori on Nostr: I'm playing with 9front's locks. Our spinlock, as far as I can tell, should be ...
I'm playing with 9front's locks. Our spinlock, as far as I can tell, should be laughably bad, but rough microbenchmarks are actually giving me reasonable results, partly because the locks are hilariously unfair.
Does anyone know of any good, representative benchmark suites I should be stealing ideas from, or even better, porting?
Published at
2026-08-04 02:18:18 UTCEvent JSON
{
"id": "360d78926db0c2266c7b9538b7f7af56fb9928e14c78a1c55c97df8a553c678c",
"pubkey": "a9e829faeb1a53dd1a28d3ac95122a2f311353af04427cccf5cf3086d31513de",
"created_at": 1785809898,
"kind": 1,
"tags": [
[
"proxy",
"https://hj.9fs.net/ori/p/1785809898.714630",
"web"
],
[
"proxy",
"https://hj.9fs.net/ori/p/1785809898.714630",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://hj.9fs.net/ori/p/1785809898.714630",
"pink.momostr"
],
[
"-"
]
],
"content": "I'm playing with 9front's locks. Our spinlock, as far as I can tell, should be laughably bad, but rough microbenchmarks are actually giving me reasonable results, partly because the locks are hilariously unfair.\n\nDoes anyone know of any good, representative benchmark suites I should be stealing ideas from, or even better, porting?",
"sig": "490df11d6ad6c2f7897ee13ee702ada72319655bd52c5eaea9a63fa7010d2a65ed7e66eb387555ac5c57d555768e94acc27dc51ff1c8a4002950643301ab496e"
}