mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 13:49:09 +03:00
12 lines
417 B
TypeScript
12 lines
417 B
TypeScript
/**
|
|
* Formats a latency value in milliseconds to a human-readable string
|
|
* with appropriate units (μs, ms, or s) based on the magnitude.
|
|
*/
|
|
export function formatLatency(value: number): string
|
|
|
|
/**
|
|
* Formats large numbers with thousands separators for better readability
|
|
* Used for metrics like row counts, query calls, and other statistical values.
|
|
*/
|
|
export function formatMetricValue(value: number): string
|