.
D 2017-01-27T00:28:41.940
J assignee nobody
J closer nobody
J cmimetype text/plain
J comment The\sruntime\sof\s[update]\sexplodes\swith\sthe\snumber\sof\sevents\sto\swork\son.\sThis\sis\sillustrated\sby\sthis\sscript:\r\n\r\nproc\sstack_after_idle\s{howmuch}\s{\r\n\s\s\s\sfor\s{set\si\s0}\s{$i\s<\s$howmuch}\s{incr\si}\s{\r\n\s\s\s\s\s\s\s\safter\sidle\s{\r\n\s\s\s\s\s\s\s\s\s\s\s\s#\sDo\ssomething.\r\n\s\s\s\s\s\s\s\s\s\s\s\sset\sfoo\sbar\r\n\s\s\s\s\s\s\s\s}\r\n\s\s\s\s}\r\n}\r\n\s\r\nforeach\showmuch\s{\r\n\s\s\s\s10000\r\n\s\s\s\s20000\r\n\s\s\s\s40000\r\n\s\s\s\s60000\r\n}\s{\r\n\s\s\s\sstack_after_idle\s$howmuch\r\n\s\s\s\sset\sstart\s[clock\smilliseconds]\r\n\s\s\s\supdate\r\n\s\s\s\sputs\s"$howmuch:\s[expr\s{[clock\smilliseconds]\s-\s$start}]"\r\n}\r\n\r\n\r\nIt\sisnt'\sobvious,\swhy\sthe\soverhead\sisn't\slinear\sto\sthe\snr\sof\sevents.
J is_private 0
J login pointsman
J priority 5\sMedium
J private_contact 4ca203a8e925aecdd9419645f936bccf18cd6ea7
J resolution None
J severity Minor
J status Open
J submitter pointsman
J subsystem 02.\sEvent\sLoops
J title Exploding\sruntime\swith\sgrowing\slist\sof\safter\sidle\sevents
J type Bug
K 0520d17284500573d7c46aa88e0c6b4ebc9b6a02
U pointsman
Z c01146587108fc122dd4064fd96eb2d7