On Dec 16, 2008, at 8:09 AM, Michael Alan Dorman wrote:

Hey all,

I've been writing a BerkeleyDB-based BayesStore (with the intention of
contributing it when it's complete), and I was wondering if the regular
SA test suite is sufficient to validate the implementation, or if
someone has any additional materials that would be helpful?

Most of the code, is, as one might expect, from the DBM implementation,
but I'm using more advanced BDB capabilities to do things like keep an
index on atime to speed expiration, and using BDB's transactional
capabilities to avoid having to journal, etc., and, of course, those
are the bits that are most fundamental, and therefore most in need of
testing.

Thanks for any guidance,

Copying the t-tests for your particular implementation is a good start. You may need to adjust them a bit and feel free to expand them to test even more functionality.

Then you have the masses/bayes-testing directory that will give you some help. Inside that directory is the benchmark tool that you can use to test the speed of your implementation against others.

Looking forward to seeing what you've come up with.

Michael

Reply via email to