Mantis - Quercus
Viewing Issue Advanced Details
2101 minor always 10-20-07 21:39 10-22-07 14:55
koreth  
ferg  
normal  
closed 3.1.3  
fixed  
none    
none 3.1.4  
0002101: file_get_contents() is very slow on large files
Create a 64MB file from a UNIX shell prompt:
dd if=/dev/zero of=/tmp/foo bs=64m count=1

Then try the test case:
<?php
$contents = file_get_contents("/tmp/foo");


This script finishes in under 1 second on vanilla PHP. Under Quercus, it takes about 2 minutes.

Notes
(0002376)
ferg   
10-22-07 14:55   
php/0ij{0,1,2,3}