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 2831850.2 Ops/sec
uuidv4 710149.2 Ops/sec
ulid 50016.7 Ops/sec
cuid2 44421.3 Ops/sec
cuid2_32 30438.5 Ops/sec
nanoid 383990.7 Ops/sec
crypto.randomUUID 597317.5 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;