I learn the most by reading and playing with code. So after reading NIP01 i wanted to play with the tests nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 wrote in the nostr-tools (TS) repo.
Ported some tests to Bun (v2) and saw a 2x speed in signing/verifying events (obviously all related to runtime improvements) (screenshot below)
No plans to continue writing these tests. What's the point of optimising a test suite that takes 7 seconds to run 280 tests outside of `deno fmt` (which is awesome). But i do wonder if the current relay implementations in Typescript (nostream, nostr-relay-nestjs) will have to deal with performance as Nostr gets more popular.
