Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
uuidv1 1167347.5 Ops/sec
uuidv4 795337.8 Ops/sec
ulid 124055.1 Ops/sec
cuid2 18535.1 Ops/sec
cuid2_32 12147.0 Ops/sec
nanoid 344871.2 Ops/sec
crypto.randomUUID 847956.7 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;