This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module(gen_udp_benchmark). | |
% gen_udp:send benchmark | |
% | |
% This set of benchmarks runs gen_udp:send with a number of different values and | |
% configurations. It demonstrates that the time taken to run gen_udp:send changes | |
% depending on the number of messages the caller has in its queue. | |
% | |
% During each gen_udp execution: | |
% - no more messages are added to the caller's queue | |
% - the time taken to execute gen_udp:send remains constant when running in a |