Re: Tclkit vs Tclkit Lite VFS performance

Jean-Claude Wippler <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Pat Thoyts wrote:

> tclkit 8.5a6 : C:/opt/tcl/src/kitbench/tclkitsh85.exe
>   lite 8.5a6 : C:/opt/tcl/src/kitbench/tclkit-cli85.exe
>
> tclkit {} : 26900.0
>   lite {} : 36428.8
> tclkit pkgreq : 32743.9
>   lite pkgreq : 153235.6
>
> tclkit stat : 169.696
>   lite stat : 3802.087
[...]

Ok, I see the same on Win2K here, using a 8.5 mingw build.

The time appears to be spent inside the vfs::mkcl::stat code.

Maybe this is a shimmering problem between 8.5 and vlerq.  Vlerq  
views are sensitive to being turned into a string, because that  
conversion can be extremely costly (both in time and in memory use).   
While the mkclvfs.tcl code is quite simple, and works fine in 8.4  
(and in non-windows 8.5 builds, go figure!), there may well be some  
detail which I've missed.

-jcw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.