(unit: BenchmarkMetricResult["unit"])
| 289 | } |
| 290 | |
| 291 | function formatUnit(unit: BenchmarkMetricResult["unit"]) { |
| 292 | return unit === "bytes" ? "B" : unit; |
| 293 | } |
| 294 | |
| 295 | function formatThresholdValue(value: number, unit: BenchmarkMetricResult["unit"]) { |
| 296 | if (unit === "bytes") { |
no outgoing calls
no test coverage detected