ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-ai
perl-ai
Re: Yaswi question
by Steffen Schwigon other posts by this author
Oct 4 2005 8:41AM messages near this date
[Job Posting] Research Scientist, Eagan MN | Yaswi question
Hi!

Thanks for all your answers. And of course you are right, when you
say that I just have to benchmark it.

After struggling with some minor problems with Yaswi from mod_perl, I
can now say that the performance impact is indeed quite small when
using Language::Prolog::Yaswi.

I compared
 - Language::Prolog::Yaswi from within a mod_perl application,
 - the same mod_perl framework without calls ti L::P::Yaswi,
 - the pure prolog httpd that is delivered with SWI Prolog.

I used the threaded stress tester that comes with the swi prolog
htttpd and measured time needed for 10000 requests from 8 threads).
(Apache 1.3, mod_perl 1, Athlon 1800+)

 - mod_perl+Yaswi takes about 29sec.
 - plain mod_perl takes about 26sec.
 - httpd from swi takes about 20sec.

As you can see, using Yaswi doesn't make my application much slower
than it already is.

GreetinX
Steffen 
-- 
Steffen Schwigon <schwigon@[...].de> 
Dresden Perl Mongers <http://dresden-pm.org/> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved