mvn clean package
java -jar target/benchmarks.jar -i 10 -f 1 -tu ms &> log.txt
later, use -t <thread_num>
to run multiple times with different threads.
Note that during the test, JUG's time UUID might print some warnings:
WARNING: Timestamp over-run: need to reinitialize random sequence
WARNING: Timestamp over-run: need to reinitialize random sequence
WARNING: Timestamp over-run: need to reinitialize random sequence
WARNING: Need to wait for 1 milliseconds; virtual clock advanced too far in the future
WARNING: Timestamp over-run: need to reinitialize random sequence
WARNING: Timestamp over-run: need to reinitialize random sequence
WARNING: Need to wait for 1 milliseconds; virtual clock advanced too far in the future
Which indicates that the generation of time-based uuid is too fast that the generator tried to slow down.