It is all defaults, as php and NS. I even tried to test test.html, but still apache is almost twice fatster than fastpath.

Changing to clock did not make any difference. Playing with fancy non-fancy ADP parsers did not change anything as well. Looks like deficiency in Tcl and driver/queue processing.

Bernd Eidenschink wrote:
Hi Vlad,

The results are somewhat bad, Naviserver is 2x slower on simple adp page
comparing to similar PHP page.

can you replace the [ns_fmttime [ns_time... with one
[clock format [clock seconds] -format "%c"]

and did you set up similar configuration values in php.ini and config.tcl?

Like, e.g. for php.ini:
display_errors = Off
log_errors = Off
track_errors = Off
register_globals = Off
error_reporting  =  E_WARNING
magic_quotes_gpc = Off
output_buffering = Off
zlib.output_compression = Off
safe_mode = Off
and no zend_optimizer.optimization_level line.
Is the "mbstring" module compiled in? Does it change anything if it is activated or not?

NaviServer then should be configured to log only logmaxlevel 1 (warnings), fastpath cache false. No limits (are there defaults?); default charset encoding; no adp on-the-fly compression.

Does this change anything?

Bernd.

-------------------------------------------------------------------------
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