testing the book zeroing code (maybe for backport?)

David Reiser dbreiser at earthlink.net
Wed Feb 6 21:16:01 EST 2008


Using Tim's approach, I have:
642 accounts
6423 transactions
and it took 4 minutes, 6 seconds to close the books.

Dave
--
David Reiser
dbreiser at earthlink.net

On Feb 6, 2008, at 11:22 AM, Tim Wunder wrote:

> On Wednesday 06 February 2008 11:08:05 am David Reiser wrote:
>> Is there a convenient way to count total transactions? I have about
>> 100 expense accounts and 20 income accounts with a 16MB uncompressed
>> data file, and it took just over 4 minutes to close my books as of
>> today for about 3 years worth of transactions. Mac OS X 10.5, ppc G5
>> chip, svn r16781
>>
>
> You can try:
> zcat $DATAFILE |grep -c "act:name"
> for the accounts
> substitute 'grep -c "trn:desc"' to get the number of transactions.
>
> HTH,
> Tim







More information about the gnucash-devel mailing list