Overview
| Artifact ID: | 87d1385377c5a88418352bdfcebb87c6d2c23c8f |
|---|---|
| Ticket: | 0520d17284500573d7c46aa88e0c6b4ebc9b6a02
Exploding runtime with growing list of after idle events |
| User & Date: | pointsman on 2017-01-27 00:28:41 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The runtime of [update] explodes with the number of events to work on. This is illustrated by this script: proc stack_after_idle {howmuch} { for {set i 0} {$i < $howmuch} {incr i} { after idle { # Do something. set foo bar } } } foreach howmuch { 10000 20000 40000 60000 } { stack_after_idle $howmuch set start [clock milliseconds] update puts "$howmuch: [expr {[clock milliseconds] - $start}]" } It isnt' obvious, why the overhead isn't linear to the nr of events. - is_private changed to: "0"
- login: "pointsman"
- priority changed to: "5 Medium"
- private_contact changed to: "4ca203a8e925aecdd9419645f936bccf18cd6ea7"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "pointsman"
- subsystem changed to: "02. Event Loops"
- title changed to:
Exploding runtime with growing list of after idle events
- type changed to: "Bug"