Re: Very slow fread() in function parseResponeFile($fp) in RPC.php

From: Date: Mon, 26 Nov 2007 18:21:21 +0000
Subject: Re: Very slow fread() in function parseResponeFile($fp) in RPC.php
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-48606@lists.php.net to get a copy of this message
Hi, There are no errors. I've tried removing the @ also (I run this on a development server at the moment) and no errors are displayed, there is nothing in php.err either. // Christian Marco Kaiser wrote:
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 (#48606) next »