instant team mailing list archive
-
instant team
-
Mailing list archive
-
Message #00268
Re: Timing of in-memory cache
On Fri, Sep 05, 2008 at 10:50:37AM +0200, Martin Sandve Alnæs wrote:
> I've added a test that times the cache mechanism, using
> a signature object that sleeps for a second in sig.signature()
> and half a second in sig.__hash__().
> It's called test18.py. Seems to me that the cache works fine.
ok, nice. I'll try to test it for FFC.
There is a benchmark in bench/fem/jit/ in DOLFIN which I use for
testing. It runs more than 100 times faster, maybe 1000 - I didn't
even wait for it to finish, with the in-memory cache (in FFC) than
without it (using the disk cache).
--
Anders
Attachment:
signature.asc
Description: Digital signature
References