Internal wrapped evaluator.
(*args)
| 409 | ) |
| 410 | |
| 411 | def evaluator(*args): |
| 412 | """Internal wrapped evaluator.""" |
| 413 | # Wrap feval so we can add more stats in future. |
| 414 | blob = feval(*args) |
| 415 | fmt = "@" + ("d" * repeat) |
| 416 | results = struct.unpack(fmt, blob) |
| 417 | return BenchmarkResult(results) |
| 418 | |
| 419 | return evaluator |
| 420 | except NameError: |
nothing calls this directly
no test coverage detected