RE: [PEAR-DEV] Very slow fread() in function parseResponeFile($fp) in RPC.php

From: Date: Mon, 26 Nov 2007 18:10:30 +0000
Subject: RE: [PEAR-DEV] Very slow fread() in function parseResponeFile($fp) in RPC.php
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48605@lists.php.net to get a copy of this message
Hi Christian, > 0.0030639171600342 seconds > while ($data = @fread($fp, 8192)) { ... } > 0.12888193130493 seconds. This looks like you get any error that was supressed by the @ operator. @ is a huge performance killer. Can you check your logs? Maybe you get some strange error with fread that was just not displayed? -- Marco

« previous php.pear.dev (#48605) next »