Home / Function/ formatTimeValue() — supabase Function Reference

formatTimeValue() — supabase Function Reference

Architecture documentation for the formatTimeValue() function in QueryPerformanceChart.tsx from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/studio/components/interfaces/QueryPerformance/QueryPerformanceChart.tsx lines 39–44

const formatTimeValue = (value: number): string => {
  if (value >= 1000) {
    return `${(value / 1000).toFixed(1)}s`
  }
  return `${value.toFixed(1)}ms`
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free