Export to GitHub

bbreport - issue #1

Implement caching


Posted on Mar 17, 2010 by Happy Panda

The builders and builds should be cached in a file so we can avoid to retrieve them each time. The Builder and Build objects have already an asdict() method that serialize them in a dict and a fromdump alternate constructor to create the instance from the serialized data. We should only decide a format (pickle? json? shelve?) and implement the caching.

Comment #1

Posted on Mar 17, 2010 by Happy Panda

We will use sqlite.

Comment #2

Posted on Mar 18, 2010 by Helpful Giraffe

(No comment was entered for this change.)

Comment #3

Posted on Apr 17, 2010 by Swift Lion

this issue is done, isn't it?

Comment #4

Posted on Apr 17, 2010 by Helpful Giraffe

Done, but the methods asdict() and fromdump() should be removed, probably.

Status: Fixed

Labels:
Performance Priority-High Usability Type-Enhancement