Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ScriptedAlchemy/tracedecay
/ fmt_sec
Function
fmt_sec
benchmarks/run_benchmarks.py:405–406 ·
view source on GitHub ↗
(v: float | None)
Source
from the content-addressed store, hash-verified
403
404
405
def
fmt_sec(v: float | None) -> str:
406
return
"N/A"
if
v is None
else
f
"{v:.3f}s"
407
408
409
def
fmt_int(v) -> str:
Callers
1
generate_report
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected