|
2007-09-13
| ||
| 08:04 | • Closed ticket [1627598fff]: source is slower since 8.4.13 (winXP) plus 8 o... artifact: 00f1726b17 user: msofer | |
|
2007-02-16
| ||
| 21:43 | • Ticket [1627598fff]: 4 changes artifact: 8c70e23ec9 user: beric | |
|
2007-01-04
| ||
| 22:15 | • Ticket [1627598fff]: 5 changes artifact: 5cb680f61a user: beric | |
| 16:02 | • Ticket [1627598fff]: 5 changes artifact: c7c4b5abb3 user: beric | |
| 07:25 | • New ticket [1627598fff]. artifact: c024c2ad5a user: beric | |
[source] is slower since 8.4.13 (winXP)
Closed / Duplicate1627598fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 19 years ago
Descriptionplain2007-01-04 07:25:48
Since I installed ActiveTcl8.4.14, the startup of my application is slower. After tracing, I found that it is [source] which is really slower. It seems that ActiveTcl8.4.14 is compiled with TIP280. I think that the comment in tclBasic.c rev 1.75.2.26, in EvalEx(), line 3821 is false, and the call to Tcl_FSGetNormalizedPath() slow down things.
bericplain2007-01-04 16:02:35
Logged In: YES user_id=493507 Originator: YES I just compiled core-8-4-14 (so without TIP280) and installed over ActiveTcl8.4.14, and this is also slow. So this is not related to TIP280.
bericplain2007-01-04 22:15:27
Logged In: YES user_id=493507 Originator: YES Okay, now I tested with AS8.4.13. This is also slower than with AS8.4.12 (the distribution I used before installing 8.4.14). The number of sourced files is the same with both (206 files). Most are pkgIndex files. All these files are sourced in 117ms with AS8.4.12, and in 449ms with AS8.4.13. I can not find differences between 8.4.12 and 8.4.13 sources (nor in AS packages) which can slow things so much.
bericplain2007-02-16 21:43:20
Logged In: YES user_id=493507 Originator: YES I have finally found the problem. This is related to the fix applied for bug 1193497: "file writable lies for certain XP". As noted in tclWinFile.c, [file readable] is now 5-6 times slower. So the slow down comes from the [file readable] call in tclPkgUnknown, library/package.tcl. To fix it, I moved [file readable] test in the error case.
msoferplain2007-09-13 08:04:46
Logged In: YES user_id=148712 Originator: NO Closing as duplicate of known issue in 1193497
Log in (anonymous is fine) to add a comment.