Re: [PHP] server load

2002-03-16 Thread Andrey Hristov

I've just tested on the productional test server a sample php consisting from 62kb 
comment. Benchmarked with ab
1-st bench - ten connections
Server Port:80

Document Path:  /test.php
Document Length:0 bytes

Concurrency Level:  10
Time taken for tests:   0.552 seconds
Complete requests:  100
Failed requests:0
Total transferred:  17992 bytes
HTML transferred:   0 bytes
Requests per second:181.16
Transfer rate:  32.59 kb/s received

2-nd bench:
Server Port:80

Document Path:  /test.php
Document Length:0 bytes

Concurrency Level:  10
Time taken for tests:   100.601 seconds
Complete requests:  1
Failed requests:0
Total transferred:  1730173 bytes
HTML transferred:   0 bytes
Requests per second:99.40
Transfer rate:  17.20 kb/s received

3rd bench:  - one connection
Server Port:80

Document Path: /test.php
Document Length:0 bytes

Concurrency Level:  1
Time taken for tests:   280.047 seconds
Complete requests:  1
Failed requests:0
Total transferred:  173 bytes
HTML transferred:   0 bytes
Requests per second:35.71
Transfer rate:  6.18 kb/s received

Connnection Times (ms)
  min   avg   max
Connect:0 3  3000
Processing: 924   209
Total:  927  3209

Keep in mind that I've started ab from another machine on the same 100Mbit network.

Regards,
Andrey

- Original Message - 
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:40 PM
Subject: RE: [PHP] server load


> I am thinking of using a documentation parser such as javadoc (called
> phpdoc) which will create a separate html document on the functions and
> feastures of the classes I am writing,as well as examples and tutorial info.
> 
> I am just considering whether or no I have two versions - a no comments
> version which goes live and a commented version which I compile the html
> fromand also distribute.
> 
> Does anyone here have experience with phpdoc?
> 
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: 16 March 2002 17:29
> To: caspar kennerdale
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] server load
> 
> 
> However write short but meaningful comments. Keep in mind that the scripts
> has to be loaded in the memory from the disk. Although
> after first request it is in some cache.
> 
> 
> Andrey
> 
> 
> - Original Message -
> From: "caspar kennerdale" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 16, 2002 7:24 PM
> Subject: RE: [PHP] server load
> 
> 
> > So you could have as much commented text without any detriment to the
> pages
> > performance?
> >
> > great
> >
> >
> >
> > -Original Message-
> > From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> > Sent: 16 March 2002 17:17
> > To: caspar kennerdale
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] server load
> >
> >
> > Flex - the tools that parses the code skips everything between /* and */
> and
> > for this no token is given back. Of course if you don't
> > have 5kb comments Flex will be a little faster but possibly few %.
> >
> > Regards,
> > Andrey
> >
> > - Original Message -
> > From: "caspar kennerdale" <[EMAIL PROTECTED]>
> > To: "PHP General" <[EMAIL PROTECTED]>
> > Sent: Saturday, March 16, 2002 7:13 PM
> > Subject: [PHP] server load
> >
> >
> > > Would a 10kb file which has 5kb of comments take longer to process in
> php
> > > than the same file wihout the comments which is 5kb?
> > >
> > > Or are the comments ignored as far as server load and speed to delivery
> > are
> > > concerned?
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] server load

2002-03-16 Thread Andrey Hristov

I have :)))

Andrey

- Original Message - 
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:40 PM
Subject: RE: [PHP] server load


> I am thinking of using a documentation parser such as javadoc (called
> phpdoc) which will create a separate html document on the functions and
> feastures of the classes I am writing,as well as examples and tutorial info.
> 
> I am just considering whether or no I have two versions - a no comments
> version which goes live and a commented version which I compile the html
> fromand also distribute.
> 
> Does anyone here have experience with phpdoc?
> 
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: 16 March 2002 17:29
> To: caspar kennerdale
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] server load
> 
> 
> However write short but meaningful comments. Keep in mind that the scripts
> has to be loaded in the memory from the disk. Although
> after first request it is in some cache.
> 
> 
> Andrey
> 
> 
> - Original Message -
> From: "caspar kennerdale" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, March 16, 2002 7:24 PM
> Subject: RE: [PHP] server load
> 
> 
> > So you could have as much commented text without any detriment to the
> pages
> > performance?
> >
> > great
> >
> >
> >
> > -Original Message-
> > From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> > Sent: 16 March 2002 17:17
> > To: caspar kennerdale
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] server load
> >
> >
> > Flex - the tools that parses the code skips everything between /* and */
> and
> > for this no token is given back. Of course if you don't
> > have 5kb comments Flex will be a little faster but possibly few %.
> >
> > Regards,
> > Andrey
> >
> > - Original Message -
> > From: "caspar kennerdale" <[EMAIL PROTECTED]>
> > To: "PHP General" <[EMAIL PROTECTED]>
> > Sent: Saturday, March 16, 2002 7:13 PM
> > Subject: [PHP] server load
> >
> >
> > > Would a 10kb file which has 5kb of comments take longer to process in
> php
> > > than the same file wihout the comments which is 5kb?
> > >
> > > Or are the comments ignored as far as server load and speed to delivery
> > are
> > > concerned?
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] server load

2002-03-16 Thread caspar kennerdale

I am thinking of using a documentation parser such as javadoc (called
phpdoc) which will create a separate html document on the functions and
feastures of the classes I am writing,as well as examples and tutorial info.

I am just considering whether or no I have two versions - a no comments
version which goes live and a commented version which I compile the html
fromand also distribute.

Does anyone here have experience with phpdoc?

-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2002 17:29
To: caspar kennerdale
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] server load


However write short but meaningful comments. Keep in mind that the scripts
has to be loaded in the memory from the disk. Although
after first request it is in some cache.


Andrey


- Original Message -
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:24 PM
Subject: RE: [PHP] server load


> So you could have as much commented text without any detriment to the
pages
> performance?
>
> great
>
>
>
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: 16 March 2002 17:17
> To: caspar kennerdale
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] server load
>
>
> Flex - the tools that parses the code skips everything between /* and */
and
> for this no token is given back. Of course if you don't
> have 5kb comments Flex will be a little faster but possibly few %.
>
> Regards,
> Andrey
>
> - Original Message -
> From: "caspar kennerdale" <[EMAIL PROTECTED]>
> To: "PHP General" <[EMAIL PROTECTED]>
> Sent: Saturday, March 16, 2002 7:13 PM
> Subject: [PHP] server load
>
>
> > Would a 10kb file which has 5kb of comments take longer to process in
php
> > than the same file wihout the comments which is 5kb?
> >
> > Or are the comments ignored as far as server load and speed to delivery
> are
> > concerned?
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] server load

2002-03-16 Thread Andrey Hristov

However write short but meaningful comments. Keep in mind that the scripts has to be 
loaded in the memory from the disk. Although
after first request it is in some cache.


Andrey


- Original Message -
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:24 PM
Subject: RE: [PHP] server load


> So you could have as much commented text without any detriment to the pages
> performance?
>
> great
>
>
>
> -Original Message-
> From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
> Sent: 16 March 2002 17:17
> To: caspar kennerdale
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] server load
>
>
> Flex - the tools that parses the code skips everything between /* and */ and
> for this no token is given back. Of course if you don't
> have 5kb comments Flex will be a little faster but possibly few %.
>
> Regards,
> Andrey
>
> - Original Message -
> From: "caspar kennerdale" <[EMAIL PROTECTED]>
> To: "PHP General" <[EMAIL PROTECTED]>
> Sent: Saturday, March 16, 2002 7:13 PM
> Subject: [PHP] server load
>
>
> > Would a 10kb file which has 5kb of comments take longer to process in php
> > than the same file wihout the comments which is 5kb?
> >
> > Or are the comments ignored as far as server load and speed to delivery
> are
> > concerned?
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] server load

2002-03-16 Thread caspar kennerdale

So you could have as much commented text without any detriment to the pages
performance?

great



-Original Message-
From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
Sent: 16 March 2002 17:17
To: caspar kennerdale
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] server load


Flex - the tools that parses the code skips everything between /* and */ and
for this no token is given back. Of course if you don't
have 5kb comments Flex will be a little faster but possibly few %.

Regards,
Andrey

- Original Message -
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:13 PM
Subject: [PHP] server load


> Would a 10kb file which has 5kb of comments take longer to process in php
> than the same file wihout the comments which is 5kb?
>
> Or are the comments ignored as far as server load and speed to delivery
are
> concerned?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] server load

2002-03-16 Thread Andrey Hristov

Flex - the tools that parses the code skips everything between /* and */ and for this 
no token is given back. Of course if you don't
have 5kb comments Flex will be a little faster but possibly few %.

Regards,
Andrey

- Original Message -
From: "caspar kennerdale" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Saturday, March 16, 2002 7:13 PM
Subject: [PHP] server load


> Would a 10kb file which has 5kb of comments take longer to process in php
> than the same file wihout the comments which is 5kb?
>
> Or are the comments ignored as far as server load and speed to delivery are
> concerned?
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php