(run_time_secs: float = 3)
| 11 | |
| 12 | |
| 13 | def heavy_computation(run_time_secs: float = 3): |
| 14 | end_time: float = ( |
| 15 | time.perf_counter() + run_time_secs |
| 16 | ) # Run for `run_time_secs` seconds |
| 17 | while time.perf_counter() < end_time: |
| 18 | _ = 1e9 / 1e10 |
| 19 | |
| 20 | |
| 21 | def mock_load_model(): |
no outgoing calls
no test coverage detected
searching dependent graphs…