wesm/vbench — Issue #11: expose setup part of timeit template
Author: minrk
Created: 2011-12-22 17:28:49+00:00
State: open

In pyzmq, I want to test the Python overhead of thing like `recv_multipart`, and I don't want to time the correspinding send/poll. This means I need to have setup *per run*, not just creating the available namespace once. The timeit template provides exactly this (currently just [specified as pass](https://github.com/wesm/vbench/blob/master/vbench/benchmark.py#L203), but it's not exposed to the Benchmark object.