note 102522 added to features.persistent-connections
| From: | jorgeleon85 at gmail dot com | Date: | Fri, 18 Feb 2011 22:07:15 +0000 |
| Subject: | note 102522 added to features.persistent-connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-177129@lists.php.net to get a copy of this message | ||
I've been looking everywhere for a benchmark or at least comparison of the overhead used by
oci_connect and oci_pconnect.
Just saying "oci_connect is slower because the overhead..." is not enough for me. For than
I wrote a couple scripts to compare perfomance.
At the end I found out an average of 34% more time using a oci_connect than oci_pconnect, using a
query of 50 rows and 100 columns.
Obviously this wasn't a real benchmark however it gives a simple idea of the efficiency of each
function.
----
Server IP: 69.147.83.197
Probable Submitter: 186.4.0.42
----
Manual Page -- http://www.php.net/manual/en/features.persistent-connections.php
Edit -- https://master.php.net/note/edit/102522
Del: integrated -- https://master.php.net/note/delete/102522/integrated
Del: useless -- https://master.php.net/note/delete/102522/useless
Del: bad code -- https://master.php.net/note/delete/102522/bad+code
Del: spam -- https://master.php.net/note/delete/102522/spam
Del: non-english -- https://master.php.net/note/delete/102522/non-english
Del: in docs -- https://master.php.net/note/delete/102522/in+docs
Del: other reasons-- https://master.php.net/note/delete/102522
Reject -- https://master.php.net/note/reject/102522
Search -- https://master.php.net/manage/user-notes.php