MCPcopy Create free account
hub / github.com/Icecubesaad/OpenLLM-Studio / formatSpeed

Function formatSpeed

src/lib/utils.ts:77–79  ·  view source on GitHub ↗
(mbps: number)

Source from the content-addressed store, hash-verified

75 * @returns Formatted string (e.g., "2.5 MB/s")
76 */
77export function formatSpeed(mbps: number): string {
78 return `${mbps.toFixed(1)} MB/s`;
79}
80
81/**
82 * Format estimated time remaining

Callers 3

DownloadQueueItemFunction · 0.90
HfModelFileItemFunction · 0.90
MyLibraryFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected