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 2489711.2 Ops/sec
uuidv4 334058.1 Ops/sec
ulid 39463.3 Ops/sec
cuid2 11514.5 Ops/sec
cuid2_32 27912.5 Ops/sec
nanoid 200537.2 Ops/sec
crypto.randomUUID 632769.8 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;