MCPcopy Create free account
hub / github.com/astercloud/aster / useBenchmarks

Function useBenchmarks

studio/src/hooks/useApi.ts:277–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275
276// Benchmarks
277export function useBenchmarks() {
278 return useQuery({
279 queryKey: queryKeys.benchmarks,
280 queryFn: () => api.getBenchmarks(),
281 });
282}
283
284export function useBenchmark(id: string) {
285 return useQuery({

Callers 1

BenchmarksFunction · 0.90

Calls 1

getBenchmarksMethod · 0.80

Tested by

no test coverage detected