Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-09-13
08:10 • Closed ticket [926164ffff]: Unacceptable slowdown in fix for 729692 plus 3 o... artifact: 3cdad8f8fc user: msofer
2006-11-16
03:15 • Ticket [926164ffff]: 2 changes artifact: d88ae0a49d user: dgp
2005-10-13
07:21 • Ticket [926164ffff]: 4 changes artifact: 4144e828af user: hobbs
07:21 • Ticket [926164ffff]: 1 change artifact: 657b91d867 user: hobbs
2005-03-23
01:15 • Add attachment start to ticket [926164ffff] artifact: ff315cfc31 user: msofer
01:15 • Ticket [926164ffff] Unacceptable slowdown in fix for 729692 status still Ope... artifact: dc79861ff7 user: msofer
01:15 • Ticket [926164ffff]: 5 changes artifact: 0c8f68f7e3 user: msofer
2004-05-13
00:44 • Ticket [926164ffff]: 4 changes artifact: f0d029f011 user: msofer
2004-03-31
02:32 • Ticket [926164ffff]: 4 changes artifact: 7d932792d5 user: msofer
01:09 • Add attachment tclbench to ticket [926164ffff] artifact: 088f8aa488 user: msofer
01:09 • Ticket [926164ffff] Unacceptable slowdown in fix for 729692 status still Ope... artifact: 0178eb2b01 user: msofer
2004-03-30
18:09 • New ticket [926164ffff]. artifact: 2a6f122a9a user: msofer

Unacceptable slowdown in fix for 729692

Closed / Fixed926164ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 19 years ago
Descriptionplain2004-03-30 18:09:24
the fix for bug 729692 introduced the new
INST_START_CMD, causing an unacceptable core slowdown. 
Tclbench results attached; summary of slowdowns:
  * 3% in completing the whole suite
  * 5-10% bytecode intensive (loops, base64, klist,
list iterate, ...)
  * 15-20% worst cases (sha1, heapsort).

See some comments on improving performance in the
original bug ticket.
msoferplain2004-03-31 01:09:25
File Added - 81971: tclbench
msoferplain2004-03-31 02:32:25
Logged In: YES 
user_id=148712

The too frequent calls to Tcl_AsyncReady() are responsible
for 60-70% of the slowdown.
Reverting to the previous model (check now every 64th
instruction, instead of every INST_START_CMD).
Note that this also fixes [Bug 926118].
msoferplain2004-05-13 00:44:02
Logged In: YES 
user_id=148712

More careful emission of INST_START_CMD and a runtime
peephole optimisation commited. Effect not measured yet.
msoferplain2005-03-23 01:15:49
Logged In: YES 
user_id=148712

Jeff: can you please test if this patch is good, bad or
indifferent wrt to this issue? I have a very bad platform
for reliable timings.
msoferplain2005-03-23 01:15:51
File Added - 126751: start
hobbs Ticket [926164ffff]: 1 change [History diff]2005-10-13 07:21:57
hobbsplain2005-10-13 07:21:58
Logged In: YES 
user_id=72656

Passing to dgp, since he's having so much fun optimizing the
head lately.  :)
dgp Ticket [926164ffff]: 2 changes [History diff]2006-11-16 03:15:06
msofer Closed ticket [926164ffff]. [History diff]2007-09-13 08:10:05
Log in (anonymous is fine) to add a comment.

Attachments: