Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/Doorman11991/smallcode
/ ms
Function
ms
bench/diff.js:166–166 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
164
165
function
pct(n) {
return
`${(n * 100).toFixed(1)}%`; }
166
function
ms(n) {
return
`${(n / 1000).toFixed(1)}s`; }
167
function
signed(n, digits = 3) {
168
const
s = n.toFixed(digits);
169
return
n >= 0 ? `+${s}` : s;
Callers
1
render
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected