string based guid generation

convert string to guid
5 years ago
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
Test name Executions per second
undefined 1905699.0 Ops/sec
empty string 1895242.0 Ops/sec
random out of 1000 1172448.0 Ops/sec
Script Preparation code:
  • undefined

  • empty string

  • random out of 1000

Open this result on