Filippo Valsorda :go: on Nostr: I want to do some benchmarking to figure out if some of the assembly used in ...
I want to do some benchmarking to figure out if some of the assembly used in crypto/ecdsa is carrying its weight. Would folks want to see a livestream of that?
In particular, we have 1000 lines of assembly for P-256 scalar inversion. It bundles multiple optimizations: custom addition chain, fixed modulus arithmetic, and hand-written assembly. Maybe the first one or two are enough!
How's 1600 UTC today? (Roughly, enable notifications to get the actual live notification.)
https://twitch.tv/filosottilePublished at
2024-07-29 13:34:41Event JSON
{
"id": "f68735e8ea0d9c553e0dbe5603bb17cbf0692497882534e49a1639264396010c",
"pubkey": "75c4441558d260c0ca589ce8fa89fd5052eccf0b09fca823796810a986ad1c8e",
"created_at": 1722260081,
"kind": 1,
"tags": [
[
"proxy",
"https://abyssdomain.expert/users/filippo/statuses/112870036674367768",
"activitypub"
]
],
"content": "I want to do some benchmarking to figure out if some of the assembly used in crypto/ecdsa is carrying its weight. Would folks want to see a livestream of that?\n\nIn particular, we have 1000 lines of assembly for P-256 scalar inversion. It bundles multiple optimizations: custom addition chain, fixed modulus arithmetic, and hand-written assembly. Maybe the first one or two are enough!\n\nHow's 1600 UTC today? (Roughly, enable notifications to get the actual live notification.) https://twitch.tv/filosottile",
"sig": "07d030f6c1eb2579040319c9f310b532294b77b183cca5dd24b9f3f7a6dc1f864b454d4a9d017fdb181f07369d2ef27019c48b96631861fc20080e08d119734a"
}