Package org.drasyl.performance
Class ReadThroughputDatagramChannelBenchmark
java.lang.Object
org.drasyl.performance.ReadThroughputDatagramChannelBenchmark
Reads for 60 seconds as fast as possible from a
NioDatagramChannel
and prints the
read throughput. Results are used as a baseline to compare with other channels.- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ReadThroughputDatagramChannelBenchmark
public ReadThroughputDatagramChannelBenchmark()
-
-
Method Details
-
main
- Throws:
InterruptedException
-