simple benchmark to be run with callgrind