[Webware-discuss] Re: [Cheetahtemplate-discuss] Re[2]: Webware vs. PHP - performance comparision!

2003-10-06 Thread Mike Orr
On Tue, Oct 07, 2003 at 01:56:42AM +0200, Jaros?aw Zabie??o wrote: > W poniedzia?ek 6 pa?dziernika 2003 o godz. 20:52:53 > [EMAIL PROTECTED] <[EMAIL PROTECTED]> napisa?(a): > >> The same pages works fast, and the > >> same pages sometimes display after long delay. Could it be the delay is happeni

[Webware-discuss] Re[2]: Webware vs. PHP - performance comparision!

2003-10-06 Thread Jarosław Zabiełło
W poniedziałek 6 października 2003 o godz. 20:52:53 [EMAIL PROTECTED] <[EMAIL PROTECTED]> napisał(a): > Yes, but it has the word 'Cache' in it's name. Which likely means it is > caching static files, No, not static files. MMCache increases performance of PHP scripts by caching them in *compiled s

Re: [Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread webware-discuss
--> Monday, October 6, 2003, 1:15:00 PM, [EMAIL PROTECTED] wrote: > [snippity-doo-dah] > oftem (for the same pages!) I have to wait even 10 or more seconds for > refresh the page. I do not know, what is wrong. It appears from time > to time. So I try to to solve this problem and I test different

Re: [Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread Frank Barknecht
Hallo, Jaros?aw Zabie??o hat gesagt: // Jaros?aw Zabie??o wrote: > On Monady 2003-10-05 at 17:15:00 > Ian Bicking <[EMAIL PROTECTED]> wrote: > > >> if 0 < i < 100: ... > > > > This isn't proper Python, it's interpreted as (0 < i) < 100. > > No, you are wrong. It is interpreted as (0 < i ) and (i

[Webware-discuss] Re: Webware vs. PHP - performance comparision!

2003-10-06 Thread Jarosław Zabiełło
W poniedziałek 6 października 2003 o godz. 17:26:38 Christoph Zwerschke <[EMAIL PROTECTED]> napisał(a): > You should also optimize your Webware configuration, e.g. > in AppServer.config, set > Verbose: 0 > MaxServerThreads: 100 > AutoReload: 0 > in Application.config, set > LogActivity: 0 > Cac

Re: [Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread Jarosław Zabiełło
On Monady 2003-10-05 at 17:15:00 Ian Bicking <[EMAIL PROTECTED]> wrote: >> if 0 < i < 100: ... > > This isn't proper Python, it's interpreted as (0 < i) < 100. No, you are wrong. It is interpreted as (0 < i ) and (i < 100) >>> i =-1 >>> if 0 < i < 10: ... print 'ok' ... else: ... print '

Re: [Webware-discuss] Webware vs. PHP - performance comparision!

2003-10-06 Thread webware-discuss
--> Sunday, October 5, 2003, 7:50:52 PM, [EMAIL PROTECTED] wrote: > I created an application based on Webware and Python. I was surprised > why it works so slowly. So I decided to check how fast are different > Python solutions against PHP. What is MMCache first of all? It might be doing someth

[Webware-discuss] Re: Webware vs. PHP - performance comparision!

2003-10-06 Thread Christoph Zwerschke
I think the main problem is that you only measure the overhead Webware surely has to create and provide all the various objects belonging to a Webware transaction. The interesting thing would be to measure the difference if you do some real stuff with your servlet. I guess this overhead will soon b

[Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread Ian Bicking
On Mon, 2003-10-06 at 05:55, JZ wrote: > Hello Ian, > > Monday, October 6, 2003, 10:39:19 AM, you wrote: > > > I don't think this testing code is reliable. When I use ab > > (ApacheBench, comes with the Apache distribution) > > Hmm, I am trying to solve problem with my Webware application. It's

[Webware-discuss] Re: Webware vs. PHP - performance comparision!

2003-10-06 Thread Giles Hall
On Sun, Oct 05, 2003 at 08:30:31PM -0700, [EMAIL PROTECTED] wrote: > I created an application based on Webware and Python. I was surprised > why it works so slowly. So I decided to check how fast are different > Python solutions against PHP. > Webware servlet without templates: > >>>http://local

[Webware-discuss] My real problem with Webware...

2003-10-06 Thread JZ
I am trying to solve problem with my Webware application. It's behavior is strange. It works quite good but sometime it hangs for several seconds and I do not why. I changed max. nr of concurent servlets from 20 to 100 but I can see no difference. It happens from time to time. It is confusing.

[Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread JZ
Hello Ian, Monday, October 6, 2003, 10:39:19 AM, you wrote: > I don't think this testing code is reliable. When I use ab > (ApacheBench, comes with the Apache distribution) Hmm, I am trying to solve problem with my Webware application. It's behavior is strange. It works quite good but somet

[Webware-discuss] Re: Webware vs. PHP - performance comparision!!!

2003-10-06 Thread Ian Bicking
On Sun, 2003-10-05 at 19:46, JZ wrote: > My testing code is > = > import os, time > url = [ > r'http://localhost/WK/test/test1/testpython.py', > r'http://localhost/WK/test/test1/testcheetah.tmpl', > r'http://localhost/WK/test/test1/testcheetah.py', > r'http://localhost/W