My main job is not in IT, but I do have a CS degree and have been programming for over 20 years (only born in 1984). I hate dealing with Servers, and want Graph Databases to be the new norm.
I didn't get all fancy with hyperfine, but a cursory test shows no appreciable difference in performance with npmjs.com/package/uuid. Still, 2 less dependencies is nice. :)
uuid.v4 took 954.153 ms
randomUUID took 962.838 ms
uuid.v4 took 987.495 ms
randomUUID took 965.426 ms
uuid.v4 took 984.862 ms
randomUUID took 949.582 ms
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This package is depreciated. Use
uuid
instead.J
I didn't get all fancy with hyperfine, but a cursory test shows no appreciable difference in performance with npmjs.com/package/uuid. Still, 2 less dependencies is nice. :)