Load cache support for large files

40 views
Skip to first unread message

Martin Blais

unread,
Nov 9, 2015, 1:04:04 AM11/9/15
to Beancount
If your input files are large, you may enjoy a new feature I just built, which makes load-time much faster if the input file hasn't been modified:

Daniel Clemente

unread,
Nov 9, 2015, 3:58:04 AM11/9/15
to bean...@googlegroups.com
Nice! Thank you, this helps!

Load time got much faster. I notice it specially in all the small
checks that I use in my scripts (lots of calls to bean-report to get
particular numbers).

I don't really have issues with beancount's speed. The only thing that
sometimes makes me wait is slow HTML parsing in long reports, but this
is my browser's fault. My computer is particularly slow and takes
about 5 seconds to open a 500-kb local HTML file that I saved from
beancount.
Maybe beancount will need pagination or plain output formats (JSON?
text?) served from the web interface. This would be like a „mobile
version“ of the heavy HTML webpage.


Great improvements…
> --
> 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 beancount+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAK21%2BhMPh7ZR-uLGWxdpFdiiZPEpPWezJMg-Qg0yM9j7kV%3DMFw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

Martin Blais

unread,
Nov 9, 2015, 11:22:15 AM11/9/15
to Beancount
On Mon, Nov 9, 2015 at 3:58 AM, Daniel Clemente <n14...@gmail.com> wrote:
Nice! Thank you, this helps!

Load time got much faster. I notice it specially in all the small
checks that I use in my scripts (lots of calls to bean-report to get
particular numbers).

I don't really have issues with beancount's speed. The only thing that
sometimes makes me wait is slow HTML parsing in long reports, but this
is my browser's fault. My computer is particularly slow and takes
about 5 seconds to open a 500-kb local HTML file that I saved from
beancount.

I have plans to revamp the HTML journal rendering and remove rendering of the postings.
The user should be able to click on a line and go to the "context", that is, a rendered version of the individual transaction with all its details.
Maybe in a popup window, only rendered on demand.
So the journal will be much leaner when I do that.


 
Maybe beancount will need pagination or plain output formats (JSON?
text?) served from the web interface. This would be like a „mobile
version“ of the heavy HTML webpage.

You should never have to parse its HTML output.
If you need something specific out of it, best is to add your own custom report.


 


Great improvements…



On 11/9/15, Martin Blais <bl...@furius.ca> wrote:
> If your input files are large, you may enjoy a new feature I just built,
> which makes load-time much faster if the input file hasn't been modified:
> https://bitbucket.org/blais/beancount/src/39b502040af648a0469b4b8aacfda83dda84d6a8/CHANGES?at=default&fileviewer=file-view-default#CHANGES-7
>
> --
> 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 beancount+...@googlegroups.com.
> To post to this group, send email to bean...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/CAK21%2BhMPh7ZR-uLGWxdpFdiiZPEpPWezJMg-Qg0yM9j7kV%3DMFw%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.
>

--
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 beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages