Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Test uuidv1 vs uuidv4
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Browser:
Chrome 122
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
uuidV4
2.0M/s
uuidV1
1.8M/s
View exact numbers
Test name
Executions per second
✓
uuidV4
2,012,260 Ops/sec
uuidV1
1,795,343 Ops/sec
HTML Preparation code:
<script sync src="https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv1.min.js"></script> <script sync src="https://cdn.jsdelivr.net/npm/uuid@latest/dist/umd/uuidv4.min.js"></script>
Script Preparation code:
function createUUIDV1() { return uuidv1() } function createUUIDV4() { return uuidv4() }
Tests:
uuidV1
var uuidv1 = createUUIDV1();
uuidV4
var uuidv4 = createUUIDV4();