added benchmark tests (about 940 ns/op over 2 million ops, without logging to disk)