gnucash 1.5.98 qif import
Dave Peticolas
dave@krondo.com
06 Jun 2001 13:55:14 -0700
On 06 Jun 2001 15:45:15 -0500, Bill Gribble wrote:
> On Wed, Jun 06, 2001 at 01:06:05PM -0700, Dave Peticolas wrote:
> > I don't know about guile-1.4, but on my guile-1.3.4 system,
> > it takes almost 3 seconds to load src/scm/report-list.scm.
> > That is over half the time I wait before the splash screen
> > comes up! So I think you are wrong here.
>
> report-list.scm doesn't create any report objects. It just defines
> the different types of reports. I was talking about the loading of
> the code in ~/.gnucash/books/foo.scm that actually causes the reports
> to be created.
>
> If you were talking about trying to avoid loading the code that
> defines what reports are, I misunderstood you. That would be a fairly
That is what I was talking about.
> major departure from our approach now, which is to load all the
> data-independent Guile code needed by Gnucash at startup time. We
> would have to rewrite all the reports to somehow define them (so that
> they appeared in the report menu) without actually evaluating the
> (define) forms inside the report Scheme files. Pretty tricky.
Not too tricky, I think. We already have infrastructure to load
files on demand only once so I don't think it would be too hard.
If we encapsulate it inside the report object, I think it wouldn't
be too hard.
> I'm very surprised that the loading is so slow with 1.3.4. Gnucash
> doesn't take nearly that long to load for me; and if the splash screen
> doesn't come up while stuff like that is loading, what good is it?
> Maybe we should shuffle things around to display the splash screen
> sooner. That won't make things load faster, but eye candy helps pass
> the time. Maybe a progress bar for startup?
I'd be a bit paranoid about changing the order now -- maybe 1.6.1 or so?
dave