Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Windows
Desktop
one month ago
Test name Executions per second
uuidv1 3555891.5 Ops/sec
uuidv4 885224.5 Ops/sec
ulid 73419.7 Ops/sec
cuid2 66711.0 Ops/sec
cuid2_32 45910.1 Ops/sec
nanoid 524510.0 Ops/sec
crypto.randomUUID 879753.3 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;