logo       

fscanf performance >10x slower in 2.1.69 compared to 2.1.50 on Windows: msg#00009

gnu.octave.bugs

Subject: fscanf performance >10x slower in 2.1.69 compared to 2.1.50 on Windows

This comparison was made using the octave-forge pre-built binaries compared to a recent local build of 2.1.69 using the latest (gcc 3.3.3) cygwin package. This isn't a benchmark, but rather a real problem.

I open a file that contains a large matrix (about 500 x 1000 elements), and read it with

V = fscanf(fd, "%f", [1000,500]);

Under 2.1.50 this takes a bit less than 2 seconds. Under 2.1.69, it takes about 23 seconds on my system. I am running Windows XP with 3.2GHz Intel processor 2GB ram. For configuration, I used

./configure --enable-shared --disable-static

Bill Sears




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise