I can sqeeze something from C maybe, but Tcl is a bottleneck, making "for" loop bigger than over 200-500 iterations makes it crawl comparing to PHP, even with Tcl files cached, still it is 2-3 times slower. I am evaluating stuff for high performance web site and it looks like Tcl alone makes requirements for hardware tougher as oppose to PHP to be able reach same level of req/sec. Of course there is DB which make things much slower, but having same DB in both environments still if page requires some logic processing scripting language speed is important.

Zoran Vasiljevic wrote:
On 11.12.2006, at 16:27, Vlad Seryakov wrote:

I tested AS 4.5, it is even slower than NS, not much but a little bit

Well, then it is not the Tcl channel stuff as 4.5 still uses
open/read. In that case it must be something else. I guess you
need to put shortcircuit code at various places to isolate
layer by layer. That is not funny work but in the case you need
all the speed you can get, it is unavoidable.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel


--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/


Reply via email to