Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-30 Thread Per Jessen
Angus Mann wrote: > The number of emails sent is very small. Each one is only sent after a > user fills out a form and presses send. > > But there is a noticable lag of about 5 or sometimes 10 seconds after > pressing "send" before the user sees the "Mail sent" page. I presume > the reason for th

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-30 Thread Manuel Lemos
Hello, on 01/27/2010 12:07 AM Eric Lee said the following: > Hi, all > > I'am doubted about installing a local mail server for just low volume > mailing. > May I ask all yours professional what do you think about it ? I do not use nor recommend Windows for delivering messages to many recipients,

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Paul M Foster
On Wed, Jan 27, 2010 at 10:07:13AM +0800, Eric Lee wrote: > Hi, all > > I'am doubted about installing a local mail server for just low volume > mailing. > May I ask all yours professional what do you think about it ? > Every place I've ever hosted (all Linux servers) include a local MTA which i

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Eric Lee
Hi, all I'am doubted about installing a local mail server for just low volume mailing. May I ask all yours professional what do you think about it ? Thanks in advanced. Regards, Eric, > -- > Jim Lucas > NOC Manager > 541-323-9113 > BendTel, Inc. > http://www.bendtel.com > > -- > PHP Gener

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Jim Lucas
Manuel Lemos wrote: > Hello, > > On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: >> I'm currently using the phpmailer class from phpmailer.worxware.com to >> send datatbase -populated emails to clients. >> >> At the moment I'm runninng PHP on Windows and using the built-in sendmail >> equival

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Manuel Lemos
Hello, On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: > I'm currently using the phpmailer class from phpmailer.worxware.com to > send datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged with XAMPP. It use

RE: [PHP] Speed of sending email .. can I put them in a queuerather than wait?

2010-01-26 Thread Bob McConnell
From: Paul M Foster > On Tue, Jan 26, 2010 at 02:02:18PM +1000, Angus Mann wrote: >> >> I'm currently using the phpmailer class from phpmailer.worxware.com >> to send datatbase -populated emails to clients. >> >> At the moment I'm runninng PHP on Windows and using the built-in >> sendmail equivale

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-26 Thread Eric Lee
On Tue, Jan 26, 2010 at 12:02 PM, Angus Mann wrote: > Hi all. > > I'm currently using the phpmailer class from phpmailer.worxware.com to > send datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged with XAMPP. I

Re: [PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-25 Thread Paul M Foster
On Tue, Jan 26, 2010 at 02:02:18PM +1000, Angus Mann wrote: > Hi all. > > I'm currently using the phpmailer class from phpmailer.worxware.com to send > datatbase -populated emails to clients. > > At the moment I'm runninng PHP on Windows and using the built-in sendmail > equivalent packaged wi

[PHP] Speed of sending email .. can I put them in a queue rather than wait?

2010-01-25 Thread Angus Mann
Hi all. I'm currently using the phpmailer class from phpmailer.worxware.com to send datatbase -populated emails to clients. At the moment I'm runninng PHP on Windows and using the built-in sendmail equivalent packaged with XAMPP. It uses a remote SMTP that authenticates by prior logging into a

Re: [PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread Bastien Koert
On Tue, Aug 25, 2009 at 10:37 AM, kyle.smith wrote: > > -Original Message- > Recently i read this blog post about speed issues comparing PHP with > ASP.net, please, read that and comment what you think about it: > http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu > s-

RE: [PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread kyle.smith
-Original Message- Recently i read this blog post about speed issues comparing PHP with ASP.net, please, read that and comment what you think about it: http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versu s-linux-ndash-who-rsquo-s-the-fastest/ The big deal is: I don't

[PHP] Speed Issues PHP vs ASP.net

2009-08-25 Thread Igor Escobar
Recently i read this blog post about speed issues comparing PHP with ASP.net, please, read that and comment what you think about it: http://misfitgeek.com/blog/aspnet/php-versus-asp-net-ndash-windows-versus-linux-ndash-who-rsquo-s-the-fastest/ The big deal is: I don't know if this bechmark is true

Re: [PHP] Speed Opinion

2009-02-08 Thread Martin Zvarík
Nathan Rixham napsal(a): Ashley Sheridan wrote: On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get fro

Re: [PHP] Speed Opinion

2009-02-04 Thread Nathan Rixham
Ashley Sheridan wrote: On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simp

Re: [PHP] Speed Opinion

2009-02-04 Thread Ashley Sheridan
On Thu, 2009-02-05 at 09:44 +1100, Chris wrote: > PHP wrote: > > Hi all, > > I am seeking some knowledge, hopefully I explain this right. > > > > I am wondering what you think is faster. > > > > Say you have 1000 records from 2 different tables that you need to get from > > a MySQL database. > >

Re: [PHP] Speed Opinion

2009-02-04 Thread Robert Cummings
On Wed, 2009-02-04 at 14:42 -0800, PHP wrote: > Hi all, > I am seeking some knowledge, hopefully I explain this right. > > I am wondering what you think is faster. > > Say you have 1000 records from 2 different tables that you need to get from a > MySQL database. > A simple table will be display

Re: [PHP] Speed Opinion

2009-02-04 Thread Afan Pasalic
PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simple table will be displayed for each record, the second table contains r

Re: [PHP] Speed Opinion

2009-02-04 Thread Chris
PHP wrote: Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simple table will be displayed for each record, the second table contains re

[PHP] Speed Opinion

2009-02-04 Thread PHP
Hi all, I am seeking some knowledge, hopefully I explain this right. I am wondering what you think is faster. Say you have 1000 records from 2 different tables that you need to get from a MySQL database. A simple table will be displayed for each record, the second table contains related info fo

Re: [PHP] Speed of apache/php4 on windows

2007-03-31 Thread Richard Lynch
On Sat, March 31, 2007 3:49 pm, Don Don wrote: > Hi all, i've got apache/php4 running on windows xp with good hardware > configuration etc. However, the speed of execution of php pages is > really slow. When testing on my local development machine it takes a > few more seconds executing php files

[PHP] Speed of apache/php4 on windows

2007-03-31 Thread Don Don
Hi all, i've got apache/php4 running on windows xp with good hardware configuration etc. However, the speed of execution of php pages is really slow. When testing on my local development machine it takes a few more seconds executing php files than it should normally take. How can I up th

Re: [PHP] Speed

2006-01-11 Thread Rodolfo Andrade
2006 6:07 AM Subject: RE: [PHP] Speed Why not check it? Try to query for the AVG() and get the result or query for the data and do a loop in PHP to calculate the AVG. Check the time each Takes. My Money is that getting the value from SQL will be faster. Sincerely berber Visit the Weber Sites

RE: [PHP] Speed

2006-01-11 Thread Weber Sites LTD
.com Search for PHP Code from your browser http://toolbar.weberdev.com -Original Message- From: Peter Lauri [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 9:14 AM To: php-general@lists.php.net Subject: [PHP] Speed Best group member, Assume that I save data about an ob

Re: [PHP] Speed

2006-01-11 Thread Philip Hallstrom
Assume that I save data about an object and it has 10.000 observations of the object stored in a MySQL database. I want calculate the average value of a column, is it faster done by using PHP on the result array or using the MySQL function to do that? MySQL. You don't have to transfer all 10,00

[PHP] Speed

2006-01-10 Thread Peter Lauri
Best group member, Assume that I save data about an object and it has 10.000 observations of the object stored in a MySQL database. I want calculate the average value of a column, is it faster done by using PHP on the result array or using the MySQL function to do that? /Peter

RE: [PHP] Speed/Efficiency Question: Large array into DB

2005-10-11 Thread Alan Lord
ginal Message- > From: Brent Baisley [mailto:[EMAIL PROTECTED] > Sent: 11 October 2005 19:35 > To: Alan Lord > Cc: php-general@lists.php.net > Subject: Re: [PHP] Speed/Efficiency Question: Large array into DB > > Sounds to me like you are trying to import data. In which > c

Re: [PHP] Speed/Efficiency Question: Large array into DB

2005-10-11 Thread Brent Baisley
Sounds to me like you are trying to import data. In which case it would be best to create a text file and import it rather than putting PHP in the middle. But if you are going us to PHP, I would not do individual INSERTs. The overhead will really slow things down with number of inserts you

[PHP] Speed/Efficiency Question: Large array into DB

2005-10-11 Thread Alan Lord
Hi All, Not being a professional programmer I am looking for some advice about the best way to do the following: I have a large multidimensional array (up to 7Mb) It contains a list of categories in a fairly normal Cat_ID and Parent_ID arrangement. The array also contains a great deal of superflu

Re: [PHP] speed - PHP/MYSQL

2005-07-24 Thread balwant singh
Actually the data inserted in MYSQL is at every 2 seconds. i.e. 30 rows in an hour. but we are making report on hourly basis. So i used this method. With best wishes balwant -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] speed - PHP/MYSQL

2005-07-23 Thread Joe Wollard
I agree with Jasper here, you want to make it a point to optimize your queries so that fewer trips are made to the database server. On the topic of indexing, I'm curious as to how you did that and if your using it as intended. In your query you are testing columns `time`,`date` so you'll wa

Re: [PHP] speed - PHP/MYSQL

2005-07-23 Thread Jasper Bryant-Greene
balwant singh wrote: Hi, I have made a webpage in php which retrieves the data from a huge MYSQL tables as below:- $i=0; while ($i<=23) { select a, b from table where hour(time)=$i and date='' order by desc time limit 1; $i++; } then i substract the current hour output from the last hour

[PHP] speed - PHP/MYSQL

2005-07-23 Thread balwant singh
Hi, I have made a webpage in php which retrieves the data from a huge MYSQL tables as below:- $i=0; while ($i<=23) { select a, b from table where hour(time)=$i and date='' order by desc time limit 1; $i++; } then i substract the current hour output from the last hour output for calcuating

[PHP] speed conection ???

2003-11-29 Thread tony
Hi , I need to know the conecction speed of a person who is visiting my site. How can I know his speed? Thaks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
Raditha, et al -- ...and then Raditha Dissanayake said... % % Hello David, Hi! % looks like a bit of a tough one :-) guess you might be better off trying Indeed. % one of the qmail groups instead of this one. Sorry my own qmail Oh, whoops! Yes, I'm already being a general pest on the qm

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread Raditha Dissanayake
Hello David, looks like a bit of a tough one :-) guess you might be better off trying one of the qmail groups instead of this one. Sorry my own qmail expertise isn't as good as it should be. best regards raditha David T-G wrote: jabber, et al -- ...and then [EMAIL PROTECTED] said... % % Hello

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread David T-G
jabber, et al -- ...and then [EMAIL PROTECTED] said... % % Hello, Hi! % % I recall someone (pardone me i don't save list mails) pointing out that % the delay could actually be in generating the message rather than in the Yep. Nope. % sending. You are sending a customized message to each

Re: [PHP] speed of mail() on two servers

2003-08-28 Thread [EMAIL PROTECTED]
Hello, I recall someone (pardone me i don't save list mails) pointing out that the delay could actually be in generating the message rather than in the sending. You are sending a customized message to each user aren't you? Would you be creating this message from what's in a mysql database or s

Re: [PHP] speed of mail() on two servers

2003-08-28 Thread David T-G
Jabber, et al -- ...and then [EMAIL PROTECTED] said... % % having you tried ezmlm or to directly inject the message into the que? Yes, I've tried qmail-inject. I got down to about 0.41s/msg which is still terrible. Thanks & HAND :-D -- David T-G * There is too much anim

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread [EMAIL PROTECTED]
mail version in two machines? You should compare both sendmail configuration and try to check the speed from a bash script for example. -Mensaje original- De: David T-G [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 27 de agosto de 2003 0:40 Para: PHP General list Asunto: [PHP] speed o

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): > > It seems to be the mail() call itself, because I can make a system call > (system, exec, passthru) to just echo the current data and it rips > through my list in nothin' flat. So how do I tune mail() to make it > faster? Or do I need to give up and

[PHP] Re: php.ini sendmail settings (was "Re: [PHP] speed of mail() ... ")

2003-08-27 Thread David T-G
Hi again, everyone -- I have a feeling that our problem is a lousy php.ini configuration. For both module and CLI php we're using /usr/local/lib/php.ini, so I look in there and I see [mail function] ; For Win32 only. SMTP = localhost ; For Win32 only. sendmail_from = [EMAIL PROTECTED]

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Javier -- ...and then Javier Tacon said... % % May be the machine of your friend has a better network output than your % machine :) Heh :-) Hey, stranger things have happenned! But check my other followup for an interesting twist. Thanks again & HAND :-D -- David T-G

RE: [PHP] speed of mail() on two servers

2003-08-27 Thread Javier Tacon
May be the machine of your friend has a better network output than your machine :) -Mensaje original- De: David T-G [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 27 de agosto de 2003 11:59 Para: PHP General list CC: Javier Tacon Asunto: Re: [PHP] speed of mail() on two servers

Re: [PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Javier, et al -- ...and then Javier Tacon said... % % I think that may be 'problem' from sendmail .. mail() function under % linux only interacts with sendmail, it doesn't contact to the remote Right. Only it doesn't make much sense, because qmail is FAST. % SMTP to leave the mail. Do you hav

RE: [PHP] speed of mail() on two servers

2003-08-27 Thread Javier Tacon
he speed from a bash script for example. -Mensaje original- De: David T-G [mailto:[EMAIL PROTECTED] Enviado el: miercoles, 27 de agosto de 2003 0:40 Para: PHP General list Asunto: [PHP] speed of mail() on two servers Hi, all -- I'm working up a [cli] script to send a personalized

[PHP] speed of mail() on two servers

2003-08-27 Thread David T-G
Hi, all -- I'm working up a [cli] script to send a personalized (ugh) email to some [often large] number of web site subscribers. Unfortunately, I'm getting lousy performance, running about 0.54 sec per email. My partner has a mail script implemented on another machine and he's running somewhere

RE: [PHP] Speed up MySQL

2003-06-27 Thread Aaron Gould
: [EMAIL PROTECTED] Subject: [PHP] Speed up MySQL Can anyone offer some suggestions as to how I can speed up MySQL query results? I have a simple database with 3 fields in 1 table. The thing is that there are over 11 million records. Average query time is about 25 seconds. The machine itself is

[PHP] Speed up MySQL

2003-06-27 Thread Erich Kolb
Can anyone offer some suggestions as to how I can speed up MySQL query results? I have a simple database with 3 fields in 1 table. The thing is that there are over 11 million records. Average query time is about 25 seconds. The machine itself is pretty fast(P4 1.8ghz/ 1gb ram). Any suggestions

[PHP] speed on XML files

2003-06-16 Thread Diana Castillo
I have problems receiving large xml files, they take too long, does anyone have a solution? thank you, Diana -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Speed concerns with OOP and PHP4

2003-01-16 Thread Maxim Maletsky
"John Wells" <[EMAIL PROTECTED]> wrote... : > I'm working on a large VB/Sql Server to Php/Postgresql conversion (approx. > 60k lines of code). First of all, VB is precompiled and PHP is not. This will already be slower. So, you gonna need to create a logic that loads only the necessary classes f

[PHP] Speed concerns with OOP and PHP4

2003-01-16 Thread John Wells
I'm working on a large VB/Sql Server to Php/Postgresql conversion (approx. 60k lines of code). I'd like to design this thing as OO as possible, because I think ultimately it leads to better, more extendable and readable software. However, since php does the whole copy thing with objects, I'm a li

Re: [PHP] speed comparison

2002-11-19 Thread Marek Kilimajer
I like to see html highlighting, so I prefer first method, but for some small snippets I also use echo Ernest E Vogelsinger wrote: As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP

Re: [PHP] speed comparison

2002-11-18 Thread Jeff Bluemel
I have not problem displaying variable - I do it all over my webpage, or how to handle them. you may want to check out my post above that has a weblink to the project, and a better explanation of exactly what I am doing. "Ernest E Vogelsinger" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED

Re: [PHP] speed comparison

2002-11-18 Thread Jeff Bluemel
depends on my situation, but I use both techniques at times... "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I think the difference would be immeasurable, but to me, I think it would > make sense if PHP didn't have to parse plain HTML... > > S

Re: [PHP] speed comparison

2002-11-18 Thread Ernest E Vogelsinger
As Maxim pointed out a couple of days ago, this is just a matter of nanosecs, it shouldn't be really noticeable from performance. The fastest was to display non-PHP output is to escape from PHP and enter plain HTML, like $a = 'World'; ?> Hello ! Hello World!'; Note the single quote

Re: [PHP] speed comparison

2002-11-18 Thread Justin French
I think the difference would be immeasurable, but to me, I think it would make sense if PHP didn't have to parse plain HTML... So IMHO, /should/ be slightly quicker than {$foo}"; ?> The general consensus on the list seems to be "go with whichever one you are more comfortable with, is more rea

[PHP] speed comparison

2002-11-18 Thread Chris Edwards
Which would run faster and generate less load on the server, or does it matter: -- OR - ... .. I find it sucks to try and put all the php tags around stuff, so I just include it all. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EM

Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken
Thanks for the help, guys . I appreciate it. And Bas, thanks for that link. Interesting material for a novice PHP-user as myself. Yves Vrancken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Speed issues.

2002-07-28 Thread John Holmes
> I am new to PHP and trying to implement some PHP and MySQL on my website. > My > website has a lot of tables and inside some of those tables, I want to > display information that is drawn out of the MySQL database using PHP. I > was > wondering what goes faster: > > (A). Building the whole page

Re: [PHP] Speed issues.

2002-07-28 Thread Bas Jobsen
Hello, You can also find something about your questions on: http://www.php9.com/index.php/section/articles/name/PHP%20Guidelines I had tested out by printing (repeated times): 1) echo ''.$k.': hallo '.$string.', dit is het'."\n"; 2) echo "$k: hallo $string, dit is het"."\n"; 3) ?>: hallo , dit i

Re: [PHP] Speed issues.

2002-07-28 Thread Yves Vrancken
I didn't expect it to make too much of a difference. Thank you for your answer. Yves Vrancken "Justin French" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I haven't noticed ANY performance hit by skipping in and out of PHP and HTML > when it suits me. > >

Re: [PHP] Speed issues.

2002-07-28 Thread Justin French
I haven't noticed ANY performance hit by skipping in and out of PHP and HTML when it suits me. I imagine there *might* be a slight performance hit if you were building a LOT of table information with print or echo or printf, but the general answer to your question is usually "whatever suits you b

[PHP] Speed issues.

2002-07-28 Thread Yves Vrancken
Greetings, I am new to PHP and trying to implement some PHP and MySQL on my website. My website has a lot of tables and inside some of those tables, I want to display information that is drawn out of the MySQL database using PHP. I was wondering what goes faster: (A). Building the whole page nor

Re: [PHP] Speed Question

2002-07-19 Thread JJ Harrison
thx "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 18 July 2002 19:32, JJ Harrison wrote: > > if I do this: > > > > if(validate($_POST['password'], $_POST['username']) != 0) > > echo validate($_POST['password'], $_POST['username']); > >

Re: [PHP] Speed Question

2002-07-19 Thread Jason Wong
On Thursday 18 July 2002 19:32, JJ Harrison wrote: > if I do this: > > if(validate($_POST['password'], $_POST['username']) != 0) > echo validate($_POST['password'], $_POST['username']); > > will it execute the function twice or use the same result twice? Function executes twice. > would it be (s

[PHP] Speed Question

2002-07-19 Thread JJ Harrison
if I do this: if(validate($_POST['password'], $_POST['username']) != 0) echo validate($_POST['password'], $_POST['username']); will it execute the function twice or use the same result twice? would it be (slightly) faster to do this: $uid = validate($_POST['password'], $_POST['username']) if($

Re: [PHP] Speed tests? RAM usage displays?

2002-06-21 Thread Pekka Saarinen
At 6/21/2002, you wrote: >PS> What about execution time in ms (with breakpoints)? >PS> And is there way to measure MySQL query speed in ms? > >u can use microtime function > > function getMicrotime() > { > list($usec, $sec) = explode(" ",microtime()); > return ((float)$usec

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Uros Gruber
Hi! Thursday, June 20, 2002, 10:56:40 PM, you wrote: PS> Is there any way to determine script's memory usage? When you configure and compile you have some option --with-memory-limit something like that and then add \"%{mod_php_memory_usage}n\" in you http.conf of Apache where you define how

Re: [PHP] Speed tests? RAM usage displays?

2002-06-20 Thread 1LT John W. Holmes
> Is there any way to determine script's memory usage? Depends on your web server. There is a way in apache. Rasmus answered this same question for me a couple weeks ago, look through the archives. I saw an option in IIS to put memory usage into the logs, that may work, too. > What about executi

[PHP] Speed tests? RAM usage displays?

2002-06-20 Thread Pekka Saarinen
Hi, Is there any way to determine script's memory usage? What about execution time in ms (with breakpoints)? And is there way to measure MySQL query speed in ms? Thanks Pekka http://photography-on-the.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

RE: [PHP] php-speed

2002-06-13 Thread Brian McGarvie
ECTED]] > Sent: 13 June 2002 2:44 PM > To: Niklas Lampén > Cc: Php-General > Subject: Re: [PHP] php-speed > > > Thursday, June 13, 2002, 2:09:23 PM, you wrote: > > I don't think so. The difference is (IMHO + the article > linked below) if > > you use >

Re: [PHP] php-speed

2002-06-13 Thread Stuart Dallas
Thursday, June 13, 2002, 2:09:23 PM, you wrote: > I don't think so. The difference is (IMHO + the article linked below) if > you use > ...Foo... (faster) > or > Foo..."; ?> (slower) Actually, Brian is right. PHP parses text contained within "s whereas it doesn't do so with text contained within

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
"Philipp Melab" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes, Ithought that embedding must be faster too. But I was confused because > in nearly every PHP-Beginner Tutorial/Book I've seen the Hello-World > Example looks like this: > > echo ""; > echo ""

[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab
Yes, Ithought that embedding must be faster too. But I was confused because in nearly every PHP-Beginner Tutorial/Book I've seen the Hello-World Example looks like this: "; echo ""; echo "..."; echo ""; echo ""; echo "Hello World!"; echo ""; echo ""; ?> funny, isn't it?

RE: [PHP] php-speed

2002-06-13 Thread Niklas Lampén
l Subject: RE: [PHP] php-speed I believe it also depends on the quote types used... Place string/text/html code etc with in single quotes > ' < if the string contains no $var's to be parsed, and > " < if it does need to parse $var's. > -Original Message

RE: [PHP] php-speed

2002-06-13 Thread Brian McGarvie
[mailto:[EMAIL PROTECTED]] > Sent: 13 June 2002 1:25 PM > To: Php-General > Subject: RE: [PHP] php-speed > > > On which part was I wrong? > > Printing HTML via PHP is slower than inserting PHP into HTML. Maybe > we're just having communicational problems. :) > &g

[PHP] Re: php-speed

2002-06-13 Thread Philipp Melab
Yes Leon Mergen wrote: > > "Philipp Melab" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> - embedding PHP in HTML >> - or printing HTML via PHP > > With embedding PHP in HTML, do you mean using server side includes or do > you mean by having a .php file

[PHP] Re: php-speed

2002-06-13 Thread Leon Mergen
"Philipp Melab" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > - embedding PHP in HTML > - or printing HTML via PHP With embedding PHP in HTML, do you mean using server side includes or do you mean by having a .php file and having a layout like this:

RE: [PHP] php-speed

2002-06-13 Thread Niklas Lampén
d now? ;) Btw. everyone else, check that link below too, if this issue is in your interest. Niklas -Original Message- From: Pradeep Dsouza [mailto:[EMAIL PROTECTED]] Sent: 13. kesäkuuta 2002 15:21 To: [EMAIL PROTECTED] Subject: Re: [PHP] php-speed See this And maybe you might change

RE: [PHP] php-speed

2002-06-13 Thread Niklas Lampén
Embedding PHP in HTML, since I think HTML is ignored by php, just passed thru. Niklas -Original Message- From: Philipp Melab [mailto:[EMAIL PROTECTED]] Sent: 13. kesäkuuta 2002 14:55 To: [EMAIL PROTECTED] Subject: [PHP] php-speed I have a simple newbie question... Whats better

[PHP] php-speed

2002-06-13 Thread Philipp Melab
I have a simple newbie question... Whats better (faster?): - embedding PHP in HTML - or printing HTML via PHP ...? yours Philipp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-06-01 Thread Jason Wong
On Sunday 02 June 2002 02:12, Mark Charette wrote: > From: Jason Wong [mailto:[EMAIL PROTECTED]] > > >Try comparing reading 10K rows from a DB using Perl and PHP would be a > > more useful benchmark. > > --- > When's the last time you wrote a Web page that needed 10K rows displayed? Never. Perha

RE: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-06-01 Thread Mark Charette
From: Jason Wong [mailto:[EMAIL PROTECTED]] >Try comparing reading 10K rows from a DB using Perl and PHP would be a more >useful benchmark. --- When's the last time you wrote a Web page that needed 10K rows displayed? Writing good _and relevant_ benchmarks is one of the more difficult things to d

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Jason Wong
On Saturday 01 June 2002 06:20, Daniel Grace wrote: > > > language would in many cases show PHP to be slower simply because it's > > > looping code is slow? [...] > > It is typical usage, yes, but the conversation that gave me the idea to do > the quick speed comparison was the idea that PHP can b

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Ilia A.
I agree that in most cases it makes more sence at seing the webpages per second benchmark rather then a timing of some artibtrary benchmarks that for example seeing how long it take to pick prime numbers. Since in the end it matters how quickly you can get the data to the user, in case of perl

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Daniel Grace
"Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sure, you could put it that way. When benchmarking something you really > should benchmark stuff that you actually care about. Benchmark PHP > spewing out a web page after making a couple of SQL

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Rasmus Lerdorf
Sure, you could put it that way. When benchmarking something you really should benchmark stuff that you actually care about. Benchmark PHP spewing out a web page after making a couple of SQL queries, for example. That's typical usage, so that is what you should benchmark. Very few PHP scripts a

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Ilia A.
Does this mean that running a comparison benchmarks between PHP and any other language would in many cases show PHP to be slower simply because it's looping code is slow? Unless, timing is done on a speed of PHP being able to spew out webpages via the webserver with a webserver benchmark tool s

Re: [PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Rasmus Lerdorf
Not very surprising. Perl's looping code has always ben faster than PHP's. Highly iterative loops is really not what PHP is geared for. You are not going to write a Mandelbrot algorithm in PHP. You write it in C and drop in a super-quick extension into PHP and call mandelbrot(). -Rasmus On F

[PHP] Speed comparison of PHP vs. PERL (not conclusive)

2002-05-31 Thread Daniel Grace
This all started in a little debate between me and a friend of mine who I think is as much a PERL zealot as I am a PHP zealot (I was briefly pondering the idea of a Win32 API extension for PHP), and the results were rather surprising -- to me, at least.. It all started when I asked him what PERL

[PHP] Speed problems

2002-02-15 Thread Eric Katchan
Hi everyone, I am having a small speed problem and I think I may be on track to solve it. i need some input. I have a search script which either returns results or not. if No results I use a header location redirect to an insert form if one result I redirect to part 2 else if many I display t

[PHP] Speed test: mysql query vs. file_exists()

2002-01-24 Thread qartis
I'm running a logs system where log entries are .log files with filenames like 03012002.log for January 3rd, 2002. You can view when logs have been posted with a calendar, which will make the particular day a link if that day's log file exists. I'm thinking of storing the log entries in a mysql da

RE: [PHP] Speed of Images from DB

2001-11-30 Thread Matthew Loff
]] Sent: Friday, November 30, 2001 12:18 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Speed of Images from DB > But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page:

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Julio Nobrega Trabalhando
> But that could be due to server capabilities of my ISP (if he has for > example a high tech mysql-server and a relativly slow machine for apache). Probaly :-) From this page: http://www.mysql.com/information/presentations/presentation-oscon2000-27 19/ You can read on section 'Gener

Re: [PHP] Speed of Images from DB

2001-11-30 Thread Stefan Rusterholz
.interaktion.ch -- - Original Message - From: "Jim Musil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 30, 2001 4:47 PM Subject: [PHP] Speed of Images from DB > > I've been searching for the best way t

[PHP] Speed of Images from DB

2001-11-30 Thread Jim Musil
I've been searching for the best way to store images that would be used in a dynamic site. In this situation, a site admin would upload images via a php script. Obviously this creates several problems. To prevent naming problems, I have php name all the uploaded images and store the name in a

Re: [PHP] SPEED: Apache module vs. compiled?

2001-09-18 Thread Michael A. Peters
On Tue, 18 Sep 2001 10:12:05 -0700 Camille Davis <[EMAIL PROTECTED]> wrote: > Does anyone have any benchmarks or proof of a speed difference between > compiling PHP as an Apache APXS module, versus compiling it right into Apache? > > I'm going to be using it on a virtual webhost with 400 domain

[PHP] SPEED: Apache module vs. compiled?

2001-09-18 Thread Camille Davis
Does anyone have any benchmarks or proof of a speed difference between compiling PHP as an Apache APXS module, versus compiling it right into Apache? I'm going to be using it on a virtual webhost with 400 domains on one server, and good amount of traffic. PHP used for *everything*. Module wou

Re: [PHP] Speed of loding PHP pages

2001-07-12 Thread Alexander Skwar
So sprach »Aral Balkan« am 2001-07-11 um 14:59:44 -0400 : > Personally, I couldn't be happier that Netscape won't be making browsers Ah, so Microsoft also stopped making "operating systems"? > anymore and I wish that trouble-some bug of an excuse for a browser would > just go away :) Well, Nets

  1   2   >