Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
7 months ago
Test name Executions per second
uuidv1 2759963.8 Ops/sec
uuidv4 878232.7 Ops/sec
ulid 64180.3 Ops/sec
cuid2 51794.5 Ops/sec
cuid2_32 37444.5 Ops/sec
nanoid 473572.9 Ops/sec
crypto.randomUUID 816871.6 Ops/sec
HTML Preparation code:
Tests:
  • uuidv1

  • uuidv4

  • ulid

  • cuid2

  • cuid2_32

  • nanoid

  • crypto.randomUUID


;