[Zeitgeist] [Bug 695087] Re: Invalid cache access

2011-03-07 Thread Siegfried Gevatter
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 I've just added a new benchmark test to lp:~zeitgeist/zeitgeist/no- table-cache, test/cache-test.py, which inserts 1000 events with a different interpretation each (could as well -and more likely in the real w

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-30 Thread Markus Korn
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 Ok, my concern is: this script only uses one manifestation and one interpretation, so dict lookup and sql query (including sqlite's internal caching) might have the same speed. What I'm curious to know is: i

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-29 Thread Siegfried Gevatter
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 That one is using your benchmark tool, so it's just getting stuff by ID so what it benchmarks is any time difference thanks to retrieving the events with only the IDs and then replacing them with the proper UR

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-29 Thread Markus Korn
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 @Siegfried, what exactly are you benchmarking here? Eg. how many different (relevant) values are you using? How do the graphs look if you have some hundred different actors and mimetypes and a wide range of us

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-28 Thread Siegfried Gevatter
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 In the previous benchmark, /tmp/zeitgeist-trunk is trunk and ../ is the modified branch. I'm also attaching a comparison of running GNOME Activity Journal, but the data here is too random to get anything out

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-28 Thread Siegfried Gevatter
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 I think I have a clue on what's going on, but before we fix this, I guess I'd be good to have some documentation on why we even have the cache. For this purpose, I've tried removing it from the engine (code at

[Zeitgeist] [Bug 695087] Re: Invalid cache access

2010-12-28 Thread Seif Lotfy
*** This bug is a duplicate of bug 598666 *** https://bugs.launchpad.net/bugs/598666 ** This bug has been marked a duplicate of bug 598666 Error when trying to fetch items * You can subscribe to bug 598666 by following this link: https://bugs.launchpad.net/zeitgeist/+bug/598666/+subscribe