added a simple benchmark to measure logging overhead