add benchmark for lambdas vs anonymous classes