Package org.drasyl.performance
Class WriteThroughputDatagramChannelBenchmark
java.lang.Object
org.drasyl.performance.WriteThroughputDatagramChannelBenchmark
Writes for 60 seconds as fast as possible to an empty
NioDatagramChannel
and prints the
write throughput. Results are used as a baseline to compare with other channels.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
WriteThroughputDatagramChannelBenchmark
public WriteThroughputDatagramChannelBenchmark()
-
-
Method Details
-
main
- Throws:
InterruptedException
-