|
|
 José Antonio Nóbile R. | 2012-03-21 15:28:44 |
| The classes add a bit of load of memory and CPU usage. |
 José Antonio Nóbile R. | 2012-03-21 23:05:10 - In reply to message 2 from Manuel Lemos |
I did many test using PEAR DB getting rows of MySQL.
BY example, the some query, server, load, results (100K rows)
PEAR DB: 30s
Only mysql_connect, mysql_query while(mysql_fetch_assoc) 2s
I write a simple class for manage transactions, queries, open and close database, and the time was 2.5s
|
 Manuel Lemos | 2012-03-22 00:05:50 - In reply to message 3 from José Antonio Nóbile R. |
Right, when you amplify small differences of execution times by 100.000 the differences become noticeable.
However, what I mean is that retrieving a large number of query result rows is not a common case. It may happen but it is not the normal case. |
 KernelFolla | 2012-03-23 15:18:25 - In reply to message 1 from José Antonio Nóbile R. |
You can always go back and develop assembly;) but i don't think that today the first problem is permformance.
Developers have understood that it is better to build objects from the mid-90, the reasons should be obvious. |
|