Skip to content

Demo: native Text regression#15961

Draft
iamAbhi-916 wants to merge 2 commits intomicrosoft:mainfrom
iamAbhi-916:demo/native-view-regression
Draft

Demo: native Text regression#15961
iamAbhi-916 wants to merge 2 commits intomicrosoft:mainfrom
iamAbhi-916:demo/native-view-regression

Conversation

@iamAbhi-916
Copy link
Copy Markdown
Contributor

@iamAbhi-916 iamAbhi-916 commented Apr 8, 2026

Description

perf: simulate Text regression for demo (Sleep in ParagraphComponentView::updateProps)

Microsoft Reviewers: Open in CodeFlow

@iamAbhi-916 iamAbhi-916 requested a review from a team as a code owner April 8, 2026 14:16
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Performance Test Results

Branch: demo/native-view-regression
Commit: d455aab2
Time: 2026-04-08T14:43:03.426Z
Tests: 155/161 passed

❌ Regressions Detected

SectionList.native-perf-test.ts

Scenario Baseline Current Change Status
SectionList native mount 6.66ms 96.74ms +1396.1%

SectionList native mount: Duration increased by 1396.1% / +90.81ms (threshold: 20% & 5ms)

FlatList.native-perf-test.ts

Scenario Baseline Current Change Status
FlatList native mount 9.11ms 102.79ms +1053.4%

FlatList native mount: Duration increased by 1053.4% / +97.21ms (threshold: 20% & 5ms)

TouchableHighlight.native-perf-test.ts

Scenario Baseline Current Change Status
TouchableHighlight native mount 2.23ms 10.00ms +431.9%

TouchableHighlight native mount: Duration increased by 431.9% / +9.02ms (threshold: 15% & 5ms)

TouchableOpacity.native-perf-test.ts

Scenario Baseline Current Change Status
TouchableOpacity native mount 3.19ms 10.38ms +247.6%

TouchableOpacity native mount: Duration increased by 247.6% / +7.77ms (threshold: 15% & 5ms)

Button.native-perf-test.ts

Scenario Baseline Current Change Status
Button native mount 2.96ms 9.90ms +256.8%

Button native mount: Duration increased by 256.8% / +6.68ms (threshold: 15% & 5ms)

Text.native-perf-test.ts

Scenario Baseline Current Change Status
Text native mount 1.76ms 11.13ms +545.6%

Text native mount: Duration increased by 545.6% / +9.49ms (threshold: 15% & 5ms)

✅ Passed

155 scenario(s) across 22 suite(s) — no regressions

SectionList

Scenario Mean Median StdDev Renders vs Baseline
SectionList mount 5.70ms 5.50ms ±1.83ms 1 +10.0%
SectionList unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
SectionList rerender 13.10ms 12.50ms ±1.91ms 2 +19.0%
SectionList with-3-sections-15-items 6.30ms 6.00ms ±1.34ms 1 +9.1%
SectionList with-5-sections-50-items 6.70ms 6.50ms ±2.11ms 1 +8.3%
SectionList with-10-sections-200-items 6.50ms 6.00ms ±1.43ms 1 +9.1%
SectionList with-20-sections-200-items 6.80ms 7.00ms ±3.26ms 1 +40.0%
SectionList with-section-separator 2.10ms 2.00ms ±0.32ms 1 +0.0%
SectionList with-item-separator 3.60ms 3.00ms ±2.22ms 1 +50.0%
SectionList with-header-footer 3.00ms 3.00ms ±0.82ms 1 +50.0%
SectionList with-section-footer 2.50ms 2.50ms ±0.53ms 1 +25.0%
SectionList with-sticky-section-headers 1.90ms 2.00ms ±1.20ms 1 +0.0%
SectionList with-empty-list 0.60ms 1.00ms ±0.52ms 1 +0.0%
SectionList with-50-sections-1000-items 1.40ms 1.00ms ±0.52ms 1 -50.0%

FlatList

Scenario Mean Median StdDev Renders vs Baseline
FlatList mount 4.30ms 4.00ms ±0.95ms 1 +0.0%
FlatList unmount 0.30ms 0.00ms ±0.48ms 0 +0.0%
FlatList rerender 11.80ms 12.00ms ±1.87ms 2 +33.3%
FlatList with-10-items 6.40ms 7.00ms ±1.26ms 1 +75.0%
FlatList with-100-items 13.70ms 7.00ms ±15.83ms 1 +40.0%
FlatList with-500-items 4.60ms 5.00ms ±0.84ms 1 +25.0%
FlatList with-1000-items 5.30ms 5.00ms ±1.16ms 1 +25.0%
FlatList horizontal 4.80ms 4.00ms ±1.69ms 1 -20.0%
FlatList with-separator 2.10ms 2.00ms ±0.88ms 1 +0.0%
FlatList with-header-footer 3.40ms 3.00ms ±2.41ms 1 +50.0%
FlatList with-empty-list 0.60ms 1.00ms ±0.52ms 1 +100.0%
FlatList with-get-item-layout 1.90ms 2.00ms ±0.74ms 1 +100.0%
FlatList inverted 2.00ms 2.00ms ±0.82ms 1 +33.3%
FlatList with-num-columns 3.80ms 3.00ms ±2.15ms 1 +0.0%

TouchableOpacity

Scenario Mean Median StdDev Renders vs Baseline
TouchableOpacity mount 1.00ms 1.00ms ±0.00ms 1 +0.0%
TouchableOpacity unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
TouchableOpacity rerender 1.00ms 1.00ms ±0.67ms 2 +0.0%
TouchableOpacity custom-active-opacity 0.70ms 1.00ms ±0.48ms 1 +0.0%
TouchableOpacity disabled 0.70ms 1.00ms ±0.48ms 1 +0.0%
TouchableOpacity with-all-handlers 1.30ms 1.00ms ±1.70ms 1 +0.0%
TouchableOpacity with-hit-slop 1.00ms 1.00ms ±0.00ms 1 +0.0%
TouchableOpacity with-delay 1.00ms 1.00ms ±0.00ms 1 +0.0%
TouchableOpacity nested 1.70ms 2.00ms ±0.48ms 1 +100.0%
TouchableOpacity multiple-10 7.27ms 8.00ms ±1.79ms 1 +33.3%
TouchableOpacity multiple-50 33.27ms 34.00ms ±5.80ms 1 +17.2%
TouchableOpacity multiple-100 58.93ms 57.00ms ±21.16ms 1 +14.0%

ScrollView

Scenario Mean Median StdDev Renders vs Baseline
ScrollView mount 0.30ms 0.00ms ±0.48ms 1 +0.0%
ScrollView unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
ScrollView rerender 0.60ms 1.00ms ±0.52ms 2 +0.0%
ScrollView children-20 3.67ms 3.00ms ±1.29ms 1 -25.0%
ScrollView children-100 17.80ms 17.00ms ±3.19ms 1 +6.3%
ScrollView horizontal 3.80ms 4.00ms ±0.92ms 1 +0.0%
ScrollView sticky-headers 2.80ms 3.00ms ±1.03ms 1 +0.0%
ScrollView scroll-indicators 0.70ms 1.00ms ±0.48ms 1 +0.0%
ScrollView nested 1.70ms 1.00ms ±1.25ms 1 +0.0%
ScrollView content-container-style 0.80ms 1.00ms ±0.63ms 1 +0.0%
ScrollView children-500 22.53ms 23.00ms ±4.60ms 1 +21.1%

TouchableHighlight

Scenario Mean Median StdDev Renders vs Baseline
TouchableHighlight mount 0.50ms 0.50ms ±0.53ms 1 +0.0%
TouchableHighlight unmount 0.20ms 0.00ms ±0.42ms 0 +0.0%
TouchableHighlight rerender 0.40ms 0.00ms ±0.52ms 2 -100.0%
TouchableHighlight custom-underlay-color 0.70ms 1.00ms ±0.48ms 1 +Infinity%
TouchableHighlight custom-active-opacity 0.60ms 1.00ms ±0.52ms 1 +Infinity%
TouchableHighlight disabled 0.70ms 1.00ms ±0.48ms 1 +Infinity%
TouchableHighlight with-all-handlers 0.40ms 0.00ms ±0.52ms 1 +0.0%
TouchableHighlight with-hit-slop 0.30ms 0.00ms ±0.48ms 1 +0.0%
TouchableHighlight nested-touchables 1.30ms 1.00ms ±1.70ms 1 +0.0%
TouchableHighlight multiple-touchables-10 2.60ms 2.50ms ±0.70ms 1 -16.7%
TouchableHighlight multiple-touchables-50 14.70ms 13.50ms ±2.36ms 1 +8.0%
TouchableHighlight multiple-touchables-100 27.30ms 25.50ms ±6.36ms 1 +13.3%

Pressable

Scenario Mean Median StdDev Renders vs Baseline
Pressable mount 0.50ms 0.50ms ±0.53ms 1 +Infinity%
Pressable unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Pressable rerender 0.50ms 0.50ms ±0.53ms 2 +0.0%
Pressable with-all-handlers 0.30ms 0.00ms ±0.48ms 1 +0.0%
Pressable with-style-function 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable disabled 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable with-hit-slop 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable nested 0.60ms 1.00ms ±0.52ms 1 +0.0%
Pressable multiple-10 3.40ms 3.00ms ±0.51ms 1 +0.0%
Pressable multiple-50 17.73ms 18.00ms ±2.40ms 1 +28.6%
Pressable multiple-100 18.60ms 15.00ms ±9.85ms 1 +25.0%

Modal

Scenario Mean Median StdDev Renders vs Baseline
Modal mount 0.40ms 0.00ms ±0.52ms 1 +0.0%
Modal unmount 0.20ms 0.00ms ±0.42ms 0 +0.0%
Modal rerender 0.60ms 1.00ms ±0.52ms 2 +Infinity%
Modal slide-animation 0.30ms 0.00ms ±0.48ms 1 +0.0%
Modal fade-animation 0.40ms 0.00ms ±0.52ms 1 +0.0%
Modal transparent 0.30ms 0.00ms ±0.48ms 1 +0.0%
Modal with-callbacks 0.00ms 0.00ms ±0.00ms 1 +0.0%
Modal rich-content 1.60ms 2.00ms ±0.52ms 1 +0.0%
Modal with-accessibility 0.20ms 0.00ms ±0.42ms 1 +0.0%

Image

Scenario Mean Median StdDev Renders vs Baseline
Image mount 0.20ms 0.00ms ±0.42ms 1 +0.0%
Image unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Image rerender 0.10ms 0.00ms ±0.32ms 2 +0.0%
Image with-resize-mode 0.20ms 0.00ms ±0.42ms 1 +0.0%
Image with-border-radius 0.10ms 0.00ms ±0.32ms 1 +0.0%
Image with-tint-color 0.20ms 0.00ms ±0.42ms 1 +0.0%
Image with-blur-radius 0.20ms 0.00ms ±0.42ms 1 +0.0%
Image with-accessibility 0.20ms 0.00ms ±0.42ms 1 +0.0%
Image multiple-10 0.73ms 1.00ms ±0.59ms 1 +0.0%
Image multiple-50 4.20ms 4.00ms ±1.08ms 1 +33.3%
Image multiple-100 9.20ms 8.00ms ±2.14ms 1 +0.0%

ActivityIndicator

Scenario Mean Median StdDev Renders vs Baseline
ActivityIndicator mount 0.00ms 0.00ms ±0.00ms 1 +0.0%
ActivityIndicator unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
ActivityIndicator rerender 0.20ms 0.00ms ±0.42ms 2 +0.0%
ActivityIndicator size-large 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator size-small 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator with-color 0.10ms 0.00ms ±0.32ms 1 +0.0%
ActivityIndicator not-animating 0.10ms 0.00ms ±0.32ms 1 +0.0%
ActivityIndicator with-accessibility 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator multiple-10 1.40ms 1.00ms ±1.30ms 1 +0.0%
ActivityIndicator multiple-50 4.80ms 4.00ms ±1.08ms 1 +0.0%
ActivityIndicator multiple-100 9.53ms 9.00ms ±2.29ms 1 +28.6%

Switch

Scenario Mean Median StdDev Renders vs Baseline
Switch mount 0.20ms 0.00ms ±0.42ms 1 +0.0%
Switch unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
Switch rerender 0.30ms 0.00ms ±0.48ms 2 -100.0%
Switch value-true 0.00ms 0.00ms ±0.00ms 1 +0.0%
Switch disabled 0.50ms 0.00ms ±1.27ms 1 +0.0%
Switch custom-colors 0.20ms 0.00ms ±0.42ms 1 +0.0%
Switch on-value-change 0.20ms 0.00ms ±0.42ms 1 +0.0%
Switch with-accessibility 0.30ms 0.00ms ±0.48ms 1 +0.0%
Switch multiple-10 1.53ms 1.00ms ±0.64ms 1 -50.0%
Switch multiple-50 10.80ms 9.00ms ±3.59ms 1 +0.0%
Switch multiple-100 20.07ms 19.00ms ±3.95ms 1 +18.8%

Button

Scenario Mean Median StdDev Renders vs Baseline
Button mount 0.70ms 1.00ms ±0.48ms 1 +0.0%
Button unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
Button rerender 0.70ms 1.00ms ±0.48ms 2 +0.0%
Button disabled 0.70ms 1.00ms ±0.48ms 1 +0.0%
Button with-color 0.60ms 1.00ms ±0.52ms 1 +100.0%
Button with-accessibility 0.50ms 0.50ms ±0.53ms 1 -50.0%
Button multiple-10 7.07ms 7.00ms ±1.44ms 1 +16.7%
Button multiple-50 25.27ms 28.00ms ±9.74ms 1 +3.7%
Button multiple-100 19.87ms 18.00ms ±6.37ms 1 -5.3%

TextInput

Scenario Mean Median StdDev Renders vs Baseline
TextInput mount 0.30ms 0.00ms ±0.48ms 1 +0.0%
TextInput unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
TextInput rerender 0.10ms 0.00ms ±0.32ms 2 +0.0%
TextInput multiline 0.10ms 0.00ms ±0.32ms 1 +0.0%
TextInput with-value 0.20ms 0.00ms ±0.42ms 1 +0.0%
TextInput styled 0.20ms 0.00ms ±0.42ms 1 +0.0%
TextInput multiple-100 8.60ms 8.00ms ±1.99ms 1 +14.3%

View

Scenario Mean Median StdDev Renders vs Baseline
View mount 0.10ms 0.00ms ±0.32ms 1 +0.0%
View unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
View rerender 0.30ms 0.00ms ±0.48ms 2 +0.0%
View nested-50 4.07ms 4.00ms ±1.16ms 1 +33.3%
View nested-100 8.53ms 8.00ms ±1.77ms 1 +14.3%
View shadow 0.20ms 0.00ms ±0.42ms 1 +0.0%
View border-radius 0.20ms 0.00ms ±0.42ms 1 +0.0%
View nested-500 18.47ms 11.00ms ±13.32ms 1 +10.0%

Text

Scenario Mean Median StdDev Renders vs Baseline
Text mount 0.10ms 0.00ms ±0.32ms 1 +0.0%
Text unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
Text rerender 0.40ms 0.00ms ±0.52ms 2 +0.0%
Text long-1000 0.20ms 0.00ms ±0.42ms 1 +0.0%
Text nested 0.10ms 0.00ms ±0.32ms 1 +0.0%
Text styled 0.10ms 0.00ms ±0.32ms 1 +0.0%
Text multiple-100 9.33ms 9.00ms ±1.95ms 1 +28.6%

Pressable.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Pressable native mount 9.77ms 7.42ms ±4.96ms 1 +195.4%

ScrollView.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
ScrollView native mount 3.77ms 3.59ms ±0.68ms 1 -11.3%

ActivityIndicator.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
ActivityIndicator native mount 1.68ms 1.61ms ±0.23ms 1 -35.2%

TextInput.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
TextInput native mount 2.40ms 2.28ms ±0.32ms 1 -44.2%

Switch.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Switch native mount 1.38ms 1.33ms ±0.16ms 1 -23.6%

Modal.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Modal native mount 1.17ms 1.09ms ±0.22ms 1 -10.5%

Image.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Image native mount 1.93ms 1.75ms ±0.56ms 1 -22.4%

View.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
View native mount 1.33ms 1.18ms ±0.36ms 1 -17.5%

@iamAbhi-916 iamAbhi-916 marked this pull request as draft April 8, 2026 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant