Scott Lystig Fritchie
Mon Aug 21 21:19:06 CEST 2006
>>>>> "ms" == Matthew Sackman <matthew@REDACTED> writes:
ms> So if in both cases
ms> it's just measuring the time to fill a queue then why does the OTP
ms> version (with the receiver/gen_server not started) take 35 seconds
ms> to send 10M messages and the non-OTP version, sending to a dead
ms> Pid, take 0.5 seconds?
Perhaps some fraction is due to the bit about "sending to a dead
Pid". There's all sorts of message passing overhead the VM can avoid
if there is no live recipient.
More information about the erlang-questions