#19864 [Fbk->Csd]: getimagesize slow on large file

From: Date: Fri, 11 Oct 2002 16:35:48 +0000
Subject: #19864 [Fbk->Csd]: getimagesize slow on large file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22169@lists.php.net to get a copy of this message
ID: 19864 User updated by: Xuefer@21cn.com Reported By: Xuefer@21cn.com -Status: Feedback +Status: Closed Bug Type: GetImageSize related Operating System: linux PHP Version: 4.2.3 New Comment: well, it's ok for the lastest snapshot thx closing :) Previous Comments: ------------------------------------------------------------------------ [2002-10-11 10:23:11] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I can't reproduce anything like this with latest CVS.. ------------------------------------------------------------------------ [2002-10-11 10:18:13] Xuefer@21cn.com system: redhat7.2 what i did: sanning directories, get all image size to store into database what i wanted to happend: scan so many files in 10 seconds what actually happened: some of the files take about 11 seconds for each. url of 2 sample files http://ul.oursky.net/117549/qiumi1.jpg http://ul.oursky.net/117549/2002100718.jpg download to local drive before testing almost every file take about 11 seconds ------------------------------------------------------------------------ [2002-10-11 08:59:56] sniper@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-10-11 08:34:25] Xuefer@21cn.com getimagesize very slow on large _local_ file for 4mb file, it take 1sec or more time! i wonder why it's such slow to just read file head info is it trying to buffer the whole file? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19864&edit=1

« previous php.bugs (#22169) next »