Re: Beta353 bug - drawing relations hogs the PC
Lorenzo Donati <lorenzo.donati.bz <at> tiscali.it>
2007-04-22 00:04:25 GMT
Ivan Johansen <graph <at> padowan.dk> writes:
> That sounds strange. When I try it, it doesn't take more than a second.
> How fast is your computer? Could Graph still close normally or did you
> have to kill it? Is it only relations, or does functions also give
> problems? What about the released Graph 4.2, was it also slow?
>
OK, I had little time lately, but I managed to do a few tests: the problem is
still there also for beta 362.
I made a comparison test between graph 4.2 and beta 362, therefore PC
configuration shouldn't be affecting the results.
I set up the graph window at 800x600 and plotted the relation x^2 + y^2 = 5;
with graph 4.2 it took about 2sec whereas with beta 362 took about 20sec!!!
Apparently with functions the time is the same.
If I maximize the window (1680x1050) the time increases to about 6sec for 4.2
and more than 90sec for beta362.
BTW, even if it hogs the CPU the beta is still responsive: the computation can
be stopped with ESC, therefore I suppose that some inefficiency has crept in in
the relation plotting algorithm.
Best Regards
Lorenzo
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/