Simple benchmarking code for pooling, though a runtime error occurs