This commit is contained in:
alexandru.borza 2023-03-24 22:46:29 +02:00
parent 6dcdba8b3f
commit e931369a3e

View File

@ -22,7 +22,7 @@ public class UUIDCreatorBenchmark {
CountDownLatch endLatch = new CountDownLatch(threadCount); CountDownLatch endLatch = new CountDownLatch(threadCount);
for (long i = 0; i < threadCount; i++) { for (long i = 0; i < threadCount; i++) {
final long threadId = i; long threadId = i;
new Thread(() -> { new Thread(() -> {
for (long j = 0; j < iterationCount; j++) { for (long j = 0; j < iterationCount; j++) {
UUID uuid = UuidCreator.getTimeBased(); UUID uuid = UuidCreator.getTimeBased();