File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,11 +86,7 @@ function TimingBadge({ timeMs }: { timeMs: number | undefined }) {
8686
8787// ─── Native test run ─────────────────────────────────────────────────────────
8888
89- function NativeTestRun ( {
90- onAllDone,
91- } : {
92- onAllDone : ( results : TimingResult [ ] ) => void ;
93- } ) {
89+ function NativeTestRun ( { onAllDone } : { onAllDone : ( results : TimingResult [ ] ) => void } ) {
9490 const startTime = useRef ( performance . now ( ) ) . current ;
9591 const [ times , setTimes ] = useState < Record < string , number > > ( { } ) ;
9692 const reportedRef = useRef ( false ) ;
@@ -129,9 +125,7 @@ function NativeTestRun({
129125 } }
130126 >
131127 < VisibilityProbe label = "Text" onVisible = { handleVisible } startTime = { startTime } >
132- < Text
133- style = { { fontFamily : FONT_REGULAR , fontSize : FONT_SIZE , color : colors . text } }
134- >
128+ < Text style = { { fontFamily : FONT_REGULAR , fontSize : FONT_SIZE , color : colors . text } } >
135129 { FORMATTED_VALUE }
136130 </ Text >
137131 </ VisibilityProbe >
@@ -513,7 +507,7 @@ export const PerformanceDemoSkia = () => {
513507 </ Text >
514508 { coldAvg !== null && (
515509 < Text style = { { fontSize : 12 , color : colors . textSecondary , fontFamily : "monospace" } } >
516- Cold ({ coldRuns . length } ) { coldAvg . toFixed ( 1 ) . padStart ( 7 ) } ms
510+ Cold ({ coldRuns . length } ) { coldAvg . toFixed ( 1 ) . padStart ( 7 ) } ms
517511 </ Text >
518512 ) }
519513 { cachedAvg !== null && (
You can’t perform that action at this time.
0 commit comments