Re: 3 situations - PHP Power or... servlet(JSP) power ?
| From: | Michael Kimsal | Date: | Thu, 15 Mar 2001 19:57:36 +0000 |
| Subject: | Re: 3 situations - PHP Power or... servlet(JSP) power ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44109@lists.php.net to get a copy of this message | ||
Agreed. I think that JSP in some cases would be faster because the JVM is
always running. Really depends on the structure of the code and what's it's
doing.
The first time a JSP is run it'll compile, so it's slow, but after compilation
exists
its fine.
If you're doing database stuff, that'll probably be the bottleneck anyway.
Marian Vasile wrote:
> I don't think that JSP is slower than PHP... really...
> In fact I think JSP is a lot more faster just because JSP is compiled than
> executed...
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro
>
> -----Original Message-----
> From: Mark Maggelet [mailto:maggelet@mminternet.com]
> Sent: Thursday, March 15, 2001 9:11 PM
> To: marian@investments.ro; php-general@lists.php.net
> Subject: Re: [PHP] 3 situations - PHP Power or... servlet(JSP) power ?
>
> On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
> (marian@investments.ro) wrote:
> >I have 3 situations and I need an answer about what is faster...
> >
> >1. A PHP script that it's executed 10 times in a second, and have to
> >update
> >a a MySQL table.
> >1. A PERL script that it's executed 10 times in a second, and have
> >to update
> >a a MySQL table.
> >1. An servlet(JSP) script that it's executed 10 times in a second,
> >and have
> >to update a MySQL table.
>
> it depends on many things, but in general I'd say the first two are
> about the same and the third is about 3-4 times slower.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Marian Vasile wrote:
> I don't think that JSP is slower than PHP... really...
> In fact I think JSP is a lot more faster just because JSP is compiled than
> executed...
>
> Marian Vasile
> IT Manager
> Schnecker van Wyk & Pearson
> www.investments.ro