(v: float)
| 326 | |
| 327 | @staticmethod |
| 328 | def _fmt_value(v: float) -> str: |
| 329 | if v < 0: |
| 330 | return "0" |
| 331 | if v <= 9: |
| 332 | return f"{v:.1g}" |
| 333 | if v < 1_000_000: |
| 334 | return str(int(round(v))) |
| 335 | return f"{v:.2g}" |
| 336 | |
| 337 | @staticmethod |
| 338 | def _bucket_ms_label(bucket_exp: int) -> str: |
no outgoing calls
no test coverage detected