[erlang-bugs] lists:delete on tmp supervisors

Evgeniy Khramtsov xramtsov@REDACTED
Thu Apr 28 14:18:18 CEST 2011


28.04.2011 22:06, Siri Hansen wrote:
> Hi Evgeniy - could you just give a short description of your stress tests
> and how many processes are added/deleted?
>    

I just attached 50k processes to simple_one_for_one supervisor and then 
stopped them in the same order: such order guarantees that all deletion 
will be performed at O(N) when lists is used and thus, it takes O(N^2) 
to delete all childrens :)

-- 
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram@REDACTED




More information about the erlang-bugs mailing list