What about benchmarks? #495
MrOxMasTer
started this conversation in
General
Replies: 2 comments
-
Because
Nano ID has 2 reasons to use it over
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same question. If it's just about package size and readability, that might not be enough for me to choose |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why does nanoid lose out in terms of the number of operations per second to uuid?
![image](https://private-user-images.githubusercontent.com/59291123/363647487-ebdc22a4-11ac-4105-898e-b9bfc46e4217.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDI3NDIsIm5iZiI6MTczODk0MjQ0MiwicGF0aCI6Ii81OTI5MTEyMy8zNjM2NDc0ODctZWJkYzIyYTQtMTFhYy00MTA1LTg5OGUtYjliZmM0NmU0MjE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE1MzQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjYmI3NWE2OWIxZTY5ZjVmZTZjMTc1ZjM0Yzc0NDZiYmQzZDYwMmY4OGMzYzllNjdlZjk0ZGMyNzc2NWFhZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.eAVrGr9RtH1N7wtB5CRbvm8YEBNgBeL0foSQZis70LA)
Before that, it was the opposite:
![image](https://private-user-images.githubusercontent.com/59291123/363646814-415a90c2-c42e-4b1e-89f2-a363bc16346e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5NDI3NDIsIm5iZiI6MTczODk0MjQ0MiwicGF0aCI6Ii81OTI5MTEyMy8zNjM2NDY4MTQtNDE1YTkwYzItYzQyZS00YjFlLTg5ZjItYTM2M2JjMTYzNDZlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDE1MzQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllMTAxZGQ1NDJjODc5NTYyNzY5OTA1ZWEzMGNkMzA1MDZhMDc5MzIwMWJhZWRhMzRlZDlhNTk3NWRhNjRiNTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.mJSY3PF39Jed4N-4-ytjJGZN6LMm_FUBpdypkgLpo18)
And a question. Have there been any comparisons and benchmarks in postgresql using nanoid and 128-bit UUID. I just don't understand if it makes sense for me to use this library other than short id?
Beta Was this translation helpful? Give feedback.
All reactions