Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Mac OS X 10.15.7
Desktop
7 months ago
Test name Executions per second
uuidv1 5030322.0 Ops/sec
uuidv4 1228043.2 Ops/sec
ulid 90312.6 Ops/sec
cuid2 100353.1 Ops/sec
cuid2_32 66014.9 Ops/sec
nanoid 687134.2 Ops/sec
crypto.randomUUID 1146187.4 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;