[erlang-questions] about spawning time
Thu May 21 07:30:22 CEST 2009
How about 1 parent doing 100 * 5000 spawns versus 100 parents doing 5000 spawns each? At least then you are measuring the same number of process spawns.
From: junli gu <>
Sent: Thursday, 21 May, 2009 11:36:38 AM
Subject: [erlang-questions] about spawning time
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).
Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions