ivandasch commented on a change in pull request #8374:
URL: https://github.com/apache/ignite/pull/8374#discussion_r508497217
##########
File path:
modules/ducktests/src/main/java/org/apache/ignite/internal/ducktest/tests/pme_free_switch_test/SingleKeyTxStreamerApplication.java
##########
@@ -46,11 +43,9 @@
long start = System.currentTimeMillis();
- cache.put(key++, key);
-
- long finish = System.currentTimeMillis();
+ cache.put(key++ % 100, key); // Cycled update.
- long time = finish - start;
+ long latency = System.currentTimeMillis() - start;
Review comment:
I don't hesitate to insist, that System.nanoTime() is the only option.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]