Overview
| Artifact ID: | 6168ee7075c8db8b5fea5dd13f46313920ef047c8b978139204e448cbb648aae |
|---|---|
| Ticket: | 93eb73784ae4c3b2285133a98df8163144eba291
zipfs interaction with tcl_findLibrary causes slow loading |
| User & Date: | juliannoble2 on 2023-09-07 16:57:33 |
Changes
- icomment:
So far these fixes have made a big difference on windows, as it was heavily dependent on whether libs were installed. I remember testing teclab distribution a while back wondering why it was slow to start and the packager essentially gave a 'works for me'.. so fixing it could make a difference on the perceptions of usability of Tcl. There is also a minor but nice performance boost when libraries are loaded from zipfs - there aren't many modules in there - but a couple of things like clock and encodings are helped along a touch too. e.g % time {exec printf {puts [clock format [clock seconds]]} | tclsh87} goes from around 300ms to 200ms (first call to clock format is much faster) This can start to make little tcl utility scripts better on windows. Interesting to see CHW's comments re glob performance. My testing so far shows glob performance in the zip mount to be way faster than windows already - although I believe that is because there are some other performance problems with windows filesystem access as ticketed at: https://core.tcl-lang.org/tcl/info/411f52ed87e313dd If there are further improvements to be had in glob for zipfs mounts then proportionally they may give better bang for buck on other platforms - but it still sounds like a win worth chasing. Would love to see the memfd_create/fdlopen stuff ported - though getting that sorted on all platforms sounds like a big project. - login: "juliannoble2"
- mimetype: "text/plain"