[erlang-questions] about spawning time

junli gu <>
Thu May 21 03:36:38 CEST 2009


hi,everyone!

I've writen two spawning programs:
 a): is just spawning 5000 process, the time eclapsed is 1.72us,
 b): 100process each spawning 5000 new process, the  average time needed is
1.52us,less than a).

I don't understand why.I believe b) will consume mch more  time than a).
************************************************
Gu Junli--谷俊丽
PHD Candidate of Tsinghua University
Beijing 100084,China
Tel: 86-10-62795139

************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090520/713e6375/attachment.html>


More information about the erlang-questions mailing list