MCPcopy Create free account
hub / github.com/meliorence/react-native-render-html / Benchmarks

Function Benchmarks

apps/benchmarking/Benchmark.js:8–17  ·  view source on GitHub ↗
({ benchmarks })

Source from the content-addressed store, hash-verified

6import useBenchmark from './useBenchmark';
7
8function Benchmarks({ benchmarks }) {
9 return (
10 <View>
11 <Text>
12 Average Time to Render:{'\n'}
13 {benchmarks.map((e) => `${e.name}: ${mean(e.values).toFixed(2)}ms\n`)}
14 </Text>
15 </View>
16 );
17}
18
19export default function Benchmark({ samples, html, ignoredTags }) {
20 const { onLayout, launch, ...state } = useBenchmark({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…