MCPcopy Create free account
hub / github.com/callstackincubator/react-native-fast-io / BenchmarkUI

Function BenchmarkUI

example/tests/benchmark.tsx:81–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79export const BASE_URL = Platform.OS === 'android' ? '10.0.2.2' : 'localhost'
80
81export function BenchmarkUI() {
82 return (
83 <View style={styles.container}>
84 <Text style={styles.header}>WebSocket Benchmark</Text>
85 {TESTS.map((test) => (
86 <TestSection key={test.name} test={test} />
87 ))}
88 </View>
89 )
90}
91
92function TestSection({ test }: { test: (typeof TESTS)[0] }) {
93 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected