Overview
| Artifact ID: | 433d32bf0734b66a4bf61128edeaad36c1189fc5 |
|---|---|
| Ticket: | 1586292fffffffffffffffffffffffffffffffff
threaded build too slow? |
| User & Date: | msofer on 2006-10-28 16:00:13 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
For reasons that are not important here, I timed the speed of proc and ensemble calls in current HEAD. The threaded build is *much* slower (1.75x). The script at /tmp/test is proc a {x y} {set x 1} namespace ensemble create -command ::w -map {a a} # Just to make the timings stabilise accross runs # ... probably too much, but who cares time {a 1 2} 10000 time {w a 1 2} 10000 lappend res proc:[time {a 1 2} 10000] lappend res ense:[time {w a 1 2} 10000] lappend res [info patchlevel] puts [join $res \n] Building with --disable-shared I get sh-3.1# ./tclsh /tmp/test proc:2.3583 microseconds per iteration ense:3.1632 microseconds per iteration 8.5a6 and with --disable-shared --enable-threads sh-3.1# ./tclsh /tmp/test proc:4.1325 microseconds per iteration ense:5.8033 microseconds per iteration 8.5a6 - foundin changed to: "obsolete: 8.5a6"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "49. Threading"
- title changed to: "threaded build too slow?"
- type changed to: "Bug"