Artifacts Associated With Ticket 1332fc7df2
Ticket change [bd112f0ff2] (rid 139001) by dgp on 2014-07-28 16:51:18:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Starting with checkin [17150b71d2] (new multi-arg [lappend] compile machinery), the tclbench test for "LIST concat EVAL/LAPPEND" suffer quite noticeably. The scenario tested by those benchmarks is proc demo {a b} {eval [list lappend a] $b} - foundin initialized to: "8.6.2"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "LIST concat EVAL/LAPPEND performance regression"
- type initialized to: "Bug"
Ticket change [26565a4d08] (rid 139002) by dgp on 2014-07-28 16:51:36:
- assignee changed to: "dkf"
- login: "dgp"
- mimetype: "text/plain"
Ticket change [6946405c0f] (rid 139005) by dgp on 2014-07-28 21:16:57:
- icomment:
The slowdown in those benchmarks appears to just be demonstrating that compiling the multi-arg [lappend] command takes longer than it used to, and that's not surprising. The true flaw here seems to be that tclbench is out of date, and the days when testing the performance of proc demo {a b} {eval {lappend a} $b} was of any interest are now in the past. Any sensible programmer is now going to code that conception as proc demo {a b} {lappend a {*}$b} - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [7e40a6e006] (rid 139006) by dgp on 2014-07-28 21:24:04:
- icomment:
Even if one supposes a desire to avoid {*} use in tclbench, the better implementation is still: proc demo {a b} {eval [linsert $b 0 lappend a]} This is a tclbench bug. Anyone maintaining it? - login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [da82bb146b] (rid 139839) by dkf on 2014-09-11 12:45:42:
- closedate changed to: "2456912.03173655"
- closer changed to: "dkf"
- icomment:
Fixing tclbench is out-of-scope of this bug tracker. With any of the <i>recommended</i> code sequences, 8.6 is faster than 8.5 on the same hardware.
- login: "dkf"
- mimetype: "text/html"
- resolution changed to: "Wont Fix"
- status changed to: "Closed"
- username: "dkf"