Skip to content
Tcl Source Code Artifact [6168ee7075]
Login

Artifact [6168ee7075]

Artifact 6168ee7075c8db8b5fea5dd13f46313920ef047c8b978139204e448cbb648aae:

Ticket change [6168ee7075] - Ticket [93eb73784ae4c3b2|93eb73784a] <i>zipfs interaction with tcl_findLibrary causes slow loading</i> status still Open with 3 other changes by juliannoble2 on 2023-09-07 16:57:33.
D 2023-09-07T16:57:33.639
J icomment So\sfar\sthese\sfixes\shave\smade\sa\sbig\sdifference\son\swindows,\sas\sit\swas\sheavily\sdependent\son\swhether\slibs\swere\sinstalled.\sI\sremember\stesting\steclab\sdistribution\sa\swhile\sback\swondering\swhy\sit\swas\sslow\sto\sstart\sand\sthe\spackager\sessentially\sgave\sa\s'works\sfor\sme'..\sso\sfixing\sit\scould\smake\sa\sdifference\son\sthe\sperceptions\sof\susability\sof\sTcl.\r\n\r\nThere\sis\salso\sa\sminor\sbut\snice\sperformance\sboost\swhen\slibraries\sare\sloaded\sfrom\szipfs\s-\sthere\saren't\smany\smodules\sin\sthere\s-\sbut\sa\scouple\sof\sthings\slike\sclock\sand\sencodings\sare\shelped\salong\sa\stouch\stoo.\r\ne.g\s\r\n\r\n\s\s\s\s%\stime\s{exec\sprintf\s{puts\s[clock\sformat\s[clock\sseconds]]}\s|\stclsh87}\r\ngoes\sfrom\saround\s300ms\sto\s200ms\r\n\s\s\s\s(first\scall\sto\sclock\sformat\sis\smuch\sfaster)\r\n\r\nThis\scan\sstart\sto\smake\slittle\stcl\sutility\sscripts\sbetter\son\swindows.\r\n\r\nInteresting\sto\ssee\sCHW's\scomments\sre\sglob\sperformance.\r\nMy\stesting\sso\sfar\sshows\sglob\sperformance\sin\sthe\szip\smount\sto\sbe\sway\sfaster\sthan\swindows\salready\s-\salthough\sI\sbelieve\sthat\sis\sbecause\sthere\sare\ssome\sother\sperformance\sproblems\swith\swindows\sfilesystem\saccess\sas\sticketed\sat:\r\nhttps://core.tcl-lang.org/tcl/info/411f52ed87e313dd\r\n\r\nIf\sthere\sare\sfurther\simprovements\sto\sbe\shad\sin\sglob\sfor\szipfs\smounts\sthen\sproportionally\sthey\smay\sgive\sbetter\sbang\sfor\sbuck\son\sother\splatforms\s-\sbut\sit\sstill\ssounds\slike\sa\swin\sworth\schasing.\r\n\r\nWould\slove\sto\ssee\sthe\smemfd_create/fdlopen\sstuff\sported\s-\sthough\sgetting\sthat\ssorted\son\sall\splatforms\ssounds\slike\sa\sbig\sproject.
J login juliannoble2
J mimetype text/plain
K 93eb73784ae4c3b2285133a98df8163144eba291
U juliannoble2
Z 535397bf634ceb2307ea9128022b9fec