review
This commit is contained in:
parent
6dcdba8b3f
commit
e931369a3e
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user