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:
- start [download] added by msofer on 2005-03-23 01:15:51. [details]
- tclbench [download] added by msofer on 2004-03-31 01:09:25. [details]