3 ms·
Just yesterday I was trying to generate a vanity pub key for Nostr. I was using https://github.com/kdmukai/nostr_vanity_npub https://github.com/kdmukai/nostr_va
by yegle 4y ago
Just yesterday I was trying to generate a vanity pub key for Nostr. I was using https://github.com/kdmukai/nostr_vanity_npub https://github.com/kdmukai/nostr_vanity_npub which uses the python-nostr library which in turn uses https://github.com/bitcoin-core/secp256k1 https://github.com/bitcoin-core/secp256k1.
The test (single thread with -j1 flag) has some interesting result. Time taken to calculate 1 million keys:
i7 8650U=2m5s,
Oracle Cloud A1 VM=3m30s,
Ryzen ThreadRipper Pro 3945WX=3m30s,
GCE VM Xeon 2.2Ghz=6m.
So in this particular use case, an 8th gen Intel mobile CPU is the winner. Would you want to use 8650U based on this test result? Probably not.