[Gretl-devel] printing speed

Allin Cottrell cottrell at wfu.edu
Fri Jun 13 11:00:03 EDT 2008


I wrote, in response to Sven on apparently interminable printing:

> I just created an artificial dataset with 250 observations on 
> 550 variables, opened it, and issued the "print" command in the 
> console.  Yes, it took about 40 seconds of 100% CPU, but then I 
> got the printout OK.
> 
> This is mostly a GUI performance issue.  The same thing in 
> gretlcli executes in just a second or two.

Aha, I've found the performance bottleneck on this point.  

I had thought it was GTK, but in fact it was a gross inefficiency 
in gretl's handling of printing to an in-memory buffer.  Printing 
of large chunks of data in the GUI should now be very much faster.
(It's more or less instantaneous for the 250 x 550 dataset.)

Allin.



More information about the Gretl-devel mailing list