How big are your input files, and how long does Beancount take to parse 
them?

My input file is 2.5M, 55k lines, 19515 directives (38017 postings in 13347 
transactions). Running bean-web without a pickle cache takes about 30 
seconds to display my data on a MacBook Air. It's gotten to the point that 
it's rather painful to update and reprocess my file.

I'm awfully tempted to split up my file and use "include"s, for a number of 
reasons, but I've resisted up to this point because

   - You use and advocate a single file.
   - I'm afraid that I could forget to "include" one of my files and never 
   notice.
   - It looks like the pickle cache is only a single, root-level cache. 
   (Would it be possible to cache each of the included files separately, so 
   that when I split my file into n pieces and edit only one piece, I still 
   get the benefit of the cache for the other n-1 pieces?)

Another option, which I've seen suggested for Ledger in the past, is to 
"close out" each year. That makes it harder to look at the complete history 
of a single account though.


Matthew

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/b4b4ce09-0877-4a8a-a609-6aa6d97e89c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to