Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
4 months ago
Test name Executions per second
uuidv1 5673669.5 Ops/sec
uuidv4 932169.3 Ops/sec
ulid 56520.4 Ops/sec
cuid2 88513.2 Ops/sec
cuid2_32 59527.1 Ops/sec
nanoid 542092.2 Ops/sec
crypto.randomUUID 867221.0 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;