()
| 8 | |
| 9 | |
| 10 | def main(): |
| 11 | binaries = sys.argv[1:] |
| 12 | for bin in binaries: |
| 13 | t0 = time.time() |
| 14 | for _ in range(NREPS): |
| 15 | result = subprocess.run([bin, "-c", "pass"]) |
| 16 | result.check_returncode() |
| 17 | t1 = time.time() |
| 18 | print(f"{(t1-t0)/NREPS:6.3f} {bin}") |
| 19 | |
| 20 | |
| 21 | if __name__ == "__main__": |
no test coverage detected