Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
uuidv1 4082831.8 Ops/sec
uuidv4 1043661.3 Ops/sec
ulid 72760.7 Ops/sec
cuid2 68192.3 Ops/sec
cuid2_32 48628.7 Ops/sec
nanoid 523816.5 Ops/sec
crypto.randomUUID 954286.8 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;