Date: Sat, 12 May 2012 10:00:26 +0200 From: Luuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.php Subject: Re: Windows binaries 64bit for PHP References: <370jq7t07vrqpqn8l94rbpgcb4vmifma0q@mfesser.de> <0rWqr.8806$br3.2203@newsfe10.iad> <4a7089-sso.ln1@luuk.invalid.lan> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Message-ID: Lines: 48 NNTP-Posting-Host: 2001:980:9089:1:684e:d1ce:fbd0:7c00 X-Trace: 1336810201 news.xs4all.nl 6930 [2001:980:9089:1:684e:d1ce:fbd0:7c00]:33751 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.php:5990 On 12-05-2012 00:15, Jerry Stuckle wrote: > On 5/11/2012 3:53 PM, Luuk wrote: >> On 11-05-2012 21:30, Jerry Stuckle wrote: >>> On 5/11/2012 2:58 PM, Shake wrote: >>>> Jerry Stuckle a couché sur son écran : >>>>> >>>>> Loading the script, starting the scripting module, initializing the >>>>> environment, interpreting and running the script, checking for the >>>>> presence of the image, storing a resized script if necessary, loading >>>>> the image and sending it, and cleaning up the environment. >>>>> >>>>> This vs. sending the image directly via an tag. >>>>> >>>>> Nope, no extra overhead! And no way to send the image without a >>>>> script! >>>>> >>>> >>>> The Extra overhead is something like in the code that generate the >>>> page: >>>> >>>> >>> if(!file_exists(IMG_PATH.$image_file)) scaleImage($image_file); >>>> ?> >>>> >>>> Not look like an "application killer" to me. >>>> >>>> Greetings. >>>> >>>> >>> >>> There's a lot more to the overhead than that! >>> >> >> only when file does not exists, >> and, of course, the scaleImage wil make sure that it exists next time! >> So, there will only be some overhead 1 time .... >> > > One time for each image, vs. 0 times for each image if they are resized > offline in a batch script. > So, offline is for 'free' ? You are comparing apples with oranges here.... > That overhead x 7.5 million images the op indicates he has is significant. >