note 32807 added to ref.dbx
| From: | carl at rack1 dot php dot net | Date: | Sat, 07 Jun 2003 18:49:05 +0000 |
| Subject: | note 32807 added to ref.dbx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49948@lists.php.net to get a copy of this message | ||
The above benchmark is very misleading. Unfortunately, I found out the hard way by porting my app to
ADODB. Most PHP apps are going to be very short-lived therefore startup / setup time is a large
factor. This benchmark does not measure that. Just include()ing the main ADODB file added 27ms to my
app's startup time! Considering my app took only 16ms to run in total using DBX, the idea of
switching to ADODB was DOA before running a single query.
In the end, the total time for my app went from 16ms with DBX to 49ms with ADODB. ADODB's
powerful features are obviously not worth that kind of overhead.
Carl Thompson
----
Manual Page -- http://www.php.net/manual/en/ref.dbx.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32807
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32807&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32807&report=yes