Tclkit vs Tclkit Lite VFS performance

Jean-Claude Wippler <[email protected]>
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
Prompted by a comment from Pat Thoyts, I had a quick look at the  
current performance of Tclkit and a recent Tclkit Lite (built via  
kitgen).

Here's what I'm seeing on Mac OS X:

     kitten /Users/Shared/Datasets/sk/kitten.kit
     sdx /Users/jcw/w/bin/sdx
     tclkit 8.4.13 : /Users/jcw/w/bin/tclkit
       lite 8.4.15 : /Users/jcw/w/kitgen/8.4/base-std/tclkit-cli

     tclkit {} : 15614.4
       lite {} : 16660.9
     tclkit pkgreq : 19553.0
       lite pkgreq : 32437.2

     tclkit stat : 95.494
       lite stat : 163.997
     tclkit mtime : 86.548
       lite mtime : 157.357
     tclkit glob : 1173.46
       lite glob : 327.1
     tclkit open : 128.38
       lite open : 324.01
     tclkit read : 269.98
       lite read : 368.9
     tclkit read-large : 2686.75
       lite read-large : 5799.4

Which is not good...

My hunch is that the mkclvfs.tcl driver is losing out considerably  
against mk4vfs.tcl (which caches), but more work is needed to verify  
this.

Before digging deeper, I'd love to hear what others are seeing on  
this front with other platforms.  Especially since it's so easy to go  
down a useless path: "lies, damn lies, and statistics" ...

Note that this is about relative performance only.

The script is attached below.  You'll need to tweak a few paths to  
use it.

-jcw


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en
-~----------~----~----~----~------~----~------~--~---
vfsperf.tcl (application/octet-stream, 1.9 KB) - not displayed
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.