Skip to content

Port perf tests to 0.83-stable#15993

Open
iamAbhi-916 wants to merge 5 commits intomicrosoft:0.83-stablefrom
iamAbhi-916:cherry-pick/perf-0.83-stable
Open

Port perf tests to 0.83-stable#15993
iamAbhi-916 wants to merge 5 commits intomicrosoft:0.83-stablefrom
iamAbhi-916:cherry-pick/perf-0.83-stable

Conversation

@iamAbhi-916
Copy link
Copy Markdown
Contributor

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

Cherry-picks perf testing infrastructure to 0.83-stable:

86e6a03 — [Fabric]: Performance Tests for React Native Windows (#15666)
9074f9d — Native perf benchmarking infra for Fabric components (#15772)
855a194 — fix: resolve artifact path mismatch in perf-comment workflow (#15883)
9430a12 — fix: include hidden files in perf artifact upload to restore PR comments (#15893)
ecef157 — fix: respect track mode in compare-results to avoid false regression (#15933)

iamAbhi-916 and others added 5 commits April 15, 2026 14:09
* perf testing v1( view , text , textinput)

* Fixed spike testing by using median and other issues

* chore: gitignore perf-testing build output

* remove scripts/ as separate folder

* add component perf tests for Button, Image, ScrollView, Switch, Modal, ActivityIndicator, Pressable, TouchableOpacity, TouchableHighlight, FlatList, and SectionList

* Cleanup

* Change files

* lint fix and format

* cleanup

* fix pipeline issues with cachedAct!

* Save PR number to artifact for future report workflow

* remove tsconfig from tracking

* review comments

* update baselines

* lint:fix

* add statistical stability gates (Mann-Whitney U, CV, gate/track mode)

* add maxCV and mode to defaultConfig threshold

* Add 100x stress-gate scenarios to all 13 perf suites

* lint fix and format

* update yarn lock

* Bump version to 0.0.0-canary.1033
* add native perf benchmarking infrastructure for Fabric components

measures
 rendering pipeline — JS reconciliation → Fabric → Yoga layout → Composition commit → frame

 Missing Components: Button, Modal, Pressable, TouchableHighlight, TouchableOpacity, SectionList.

* Added all 6 missing components

* Change files

* updates baselines in release mode

* add winAppsdk and dev mode

* Change files

* use winget as installer

* use  direct download from download.microsoft.com

* relax TouchableOpacity  bulk threshold in JS test

* update snapshots

* update snapshots

* review comments and  segregate native tests

* poll for valid perf JSON instead of single read to handle transient UIA failures

* nit

* lint:fix and format

* fix: use --msbuildprops instead of -- /p: for SDK version override
…nts (microsoft#15893)

* fix: resolve artifact path mismatch in perf-comment workflow

* fix: include hidden files in perf artifact upload

* fix: auto-discover native perf results in compare report

* Do not create m_childrenContainer when using a custom visual to mount children into (microsoft#15877)

* Do not create m_childrenContainer when using a custom visual to mount children into

* Change files

* fix

* RELEASE: Releasing 10 package(s) (main) (microsoft#15885)

Co-authored-by: React-Native-Windows Bot <53619745+rnbot@users.noreply.github.com>

* Implement onClick (microsoft#15889)

* Implement onClick

* Change files

* RELEASE: Releasing 10 package(s) (main) (microsoft#15891)

Co-authored-by: React-Native-Windows Bot <53619745+rnbot@users.noreply.github.com>

* Fork ubroken module (microsoft#15892)

* fix: auto-discover native perf results in compare report

* Change files

* fix: capture live run metrics in PerfJsonReporter instead of re-reading baselines

* Change files

* fix: use temp files for cross-process live metrics

* lint fix

* make touchableOpacity less noisy

* Change files

* codegen build fix

* revert: undo codegen changes (schema version mismatch)

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: azure-pipelines[bot] <36771401+azure-pipelines[bot]@users.noreply.github.com>
Co-authored-by: React-Native-Windows Bot <53619745+rnbot@users.noreply.github.com>
Co-authored-by: Vladimir Morozov <vmorozov@microsoft.com>
…icrosoft#15933)

* fix: respect track mode in compare-results to avoid false regression failures

* Change files

* fix: update TouchableOpacity multiple-100 baseline to match CI environment
@iamAbhi-916 iamAbhi-916 requested review from a team as code owners April 15, 2026 08:48
@github-actions
Copy link
Copy Markdown

Performance Test Results

Branch: cherry-pick/perf-0.83-stable
Commit: a47de4be
Time: 2026-04-15T09:24:37.547Z
Tests: 161/161 passed

✅ Passed

161 scenario(s) across 28 suite(s) — no regressions

SectionList

Scenario Mean Median StdDev Renders vs Baseline
SectionList mount 5.50ms 5.00ms ±1.18ms 1 +0.0%
SectionList unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
SectionList rerender 13.80ms 13.00ms ±3.29ms 2 +23.8%
SectionList with-3-sections-15-items 6.30ms 5.50ms ±1.95ms 1 +0.0%
SectionList with-5-sections-50-items 7.20ms 7.50ms ±1.14ms 1 +25.0%
SectionList with-10-sections-200-items 7.20ms 7.00ms ±1.99ms 1 +27.3%
SectionList with-20-sections-200-items 5.40ms 5.00ms ±1.78ms 1 +0.0%
SectionList with-section-separator 2.70ms 2.00ms ±1.57ms 1 +0.0%
SectionList with-item-separator 2.60ms 2.00ms ±1.17ms 1 +0.0%
SectionList with-header-footer 3.20ms 2.50ms ±2.44ms 1 +25.0%
SectionList with-section-footer 3.10ms 3.00ms ±0.32ms 1 +50.0%
SectionList with-sticky-section-headers 2.30ms 2.00ms ±0.95ms 1 +0.0%
SectionList with-empty-list 1.00ms 1.00ms ±1.49ms 1 +0.0%
SectionList with-50-sections-1000-items 1.30ms 1.00ms ±0.48ms 1 -50.0%

FlatList

Scenario Mean Median StdDev Renders vs Baseline
FlatList mount 5.70ms 5.50ms ±1.57ms 1 +37.5%
FlatList unmount 0.80ms 0.50ms ±1.23ms 0 +Infinity%
FlatList rerender 10.80ms 10.50ms ±2.10ms 2 +16.7%
FlatList with-10-items 5.80ms 6.00ms ±1.14ms 1 +50.0%
FlatList with-100-items 6.50ms 6.00ms ±2.07ms 1 +20.0%
FlatList with-500-items 5.80ms 5.00ms ±2.10ms 1 +25.0%
FlatList with-1000-items 5.70ms 5.00ms ±2.50ms 1 +25.0%
FlatList horizontal 4.70ms 4.50ms ±1.42ms 1 -10.0%
FlatList with-separator 2.80ms 2.00ms ±1.69ms 1 +0.0%
FlatList with-header-footer 1.80ms 2.00ms ±0.42ms 1 +0.0%
FlatList with-empty-list 0.60ms 1.00ms ±0.52ms 1 +100.0%
FlatList with-get-item-layout 1.40ms 1.00ms ±0.52ms 1 +0.0%
FlatList inverted 2.00ms 1.50ms ±1.83ms 1 +0.0%
FlatList with-num-columns 2.80ms 3.00ms ±0.42ms 1 +0.0%

TouchableOpacity

Scenario Mean Median StdDev Renders vs Baseline
TouchableOpacity mount 0.90ms 1.00ms ±0.32ms 1 +0.0%
TouchableOpacity unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
TouchableOpacity rerender 1.20ms 1.00ms ±0.63ms 2 +0.0%
TouchableOpacity custom-active-opacity 0.80ms 1.00ms ±0.63ms 1 +0.0%
TouchableOpacity disabled 0.80ms 1.00ms ±0.42ms 1 +0.0%
TouchableOpacity with-all-handlers 1.00ms 1.00ms ±1.15ms 1 +0.0%
TouchableOpacity with-hit-slop 1.00ms 1.00ms ±0.00ms 1 +0.0%
TouchableOpacity with-delay 0.80ms 1.00ms ±0.42ms 1 +0.0%
TouchableOpacity nested 1.40ms 1.00ms ±0.52ms 1 +0.0%
TouchableOpacity multiple-10 8.13ms 7.00ms ±2.42ms 1 +16.7%
TouchableOpacity multiple-50 35.47ms 34.00ms ±5.97ms 1 +17.2%
TouchableOpacity multiple-100 58.67ms 59.00ms ±14.23ms 1 +18.0%

ScrollView

Scenario Mean Median StdDev Renders vs Baseline
ScrollView mount 0.60ms 1.00ms ±0.52ms 1 +Infinity%
ScrollView unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
ScrollView rerender 0.80ms 1.00ms ±0.42ms 2 +0.0%
ScrollView children-20 3.27ms 3.00ms ±0.59ms 1 -25.0%
ScrollView children-100 20.20ms 19.00ms ±5.23ms 1 +18.8%
ScrollView horizontal 4.00ms 4.00ms ±1.49ms 1 +0.0%
ScrollView sticky-headers 3.30ms 3.00ms ±1.57ms 1 +0.0%
ScrollView scroll-indicators 0.80ms 1.00ms ±0.42ms 1 +0.0%
ScrollView nested 1.60ms 1.00ms ±0.97ms 1 +0.0%
ScrollView content-container-style 0.70ms 1.00ms ±0.48ms 1 +0.0%
ScrollView children-500 24.07ms 22.00ms ±5.91ms 1 +15.8%

TouchableHighlight

Scenario Mean Median StdDev Renders vs Baseline
TouchableHighlight mount 0.40ms 0.00ms ±0.52ms 1 -100.0%
TouchableHighlight unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
TouchableHighlight rerender 0.60ms 1.00ms ±0.52ms 2 +0.0%
TouchableHighlight custom-underlay-color 0.50ms 0.50ms ±0.53ms 1 +Infinity%
TouchableHighlight custom-active-opacity 0.50ms 0.50ms ±0.53ms 1 +Infinity%
TouchableHighlight disabled 0.30ms 0.00ms ±0.48ms 1 +0.0%
TouchableHighlight with-all-handlers 0.40ms 0.00ms ±0.52ms 1 +0.0%
TouchableHighlight with-hit-slop 0.40ms 0.00ms ±0.52ms 1 +0.0%
TouchableHighlight nested-touchables 0.80ms 1.00ms ±0.42ms 1 +0.0%
TouchableHighlight multiple-touchables-10 3.20ms 3.00ms ±1.48ms 1 +0.0%
TouchableHighlight multiple-touchables-50 18.20ms 17.50ms ±3.39ms 1 +40.0%
TouchableHighlight multiple-touchables-100 26.50ms 26.50ms ±4.60ms 1 +17.8%

Pressable

Scenario Mean Median StdDev Renders vs Baseline
Pressable mount 0.20ms 0.00ms ±0.42ms 1 +0.0%
Pressable unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Pressable rerender 0.40ms 0.00ms ±0.52ms 2 -100.0%
Pressable with-all-handlers 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable with-style-function 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable disabled 0.30ms 0.00ms ±0.48ms 1 +0.0%
Pressable with-hit-slop 0.40ms 0.00ms ±0.52ms 1 +0.0%
Pressable nested 0.70ms 1.00ms ±0.48ms 1 +0.0%
Pressable multiple-10 3.73ms 3.00ms ±1.10ms 1 +0.0%
Pressable multiple-50 17.80ms 17.00ms ±2.98ms 1 +21.4%
Pressable multiple-100 20.20ms 16.00ms ±12.21ms 1 +33.3%

Modal

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

Image

Scenario Mean Median StdDev Renders vs Baseline
Image mount 0.00ms 0.00ms ±0.00ms 1 +0.0%
Image unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Image rerender 0.20ms 0.00ms ±0.42ms 2 +0.0%
Image with-resize-mode 0.10ms 0.00ms ±0.32ms 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.10ms 0.00ms ±0.32ms 1 +0.0%
Image multiple-10 1.00ms 1.00ms ±0.00ms 1 +0.0%
Image multiple-50 3.87ms 4.00ms ±0.52ms 1 +33.3%
Image multiple-100 10.47ms 11.00ms ±2.50ms 1 +37.5%

ActivityIndicator

Scenario Mean Median StdDev Renders vs Baseline
ActivityIndicator mount 0.10ms 0.00ms ±0.32ms 1 +0.0%
ActivityIndicator unmount 0.10ms 0.00ms ±0.32ms 0 +0.0%
ActivityIndicator rerender 0.20ms 0.00ms ±0.42ms 2 +0.0%
ActivityIndicator size-large 0.10ms 0.00ms ±0.32ms 1 +0.0%
ActivityIndicator size-small 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator with-color 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator not-animating 0.20ms 0.00ms ±0.42ms 1 +0.0%
ActivityIndicator with-accessibility 0.30ms 0.00ms ±0.48ms 1 +0.0%
ActivityIndicator multiple-10 1.00ms 1.00ms ±0.00ms 1 +0.0%
ActivityIndicator multiple-50 4.33ms 4.00ms ±1.18ms 1 +0.0%
ActivityIndicator multiple-100 9.40ms 9.00ms ±1.45ms 1 +28.6%

Switch

Scenario Mean Median StdDev Renders vs Baseline
Switch mount 0.50ms 0.50ms ±0.53ms 1 +Infinity%
Switch unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Switch rerender 0.30ms 0.00ms ±0.48ms 2 -100.0%
Switch value-true 0.10ms 0.00ms ±0.32ms 1 +0.0%
Switch disabled 0.30ms 0.00ms ±0.48ms 1 +0.0%
Switch custom-colors 0.20ms 0.00ms ±0.42ms 1 +0.0%
Switch on-value-change 0.30ms 0.00ms ±0.48ms 1 +0.0%
Switch with-accessibility 0.30ms 0.00ms ±0.48ms 1 +0.0%
Switch multiple-10 2.00ms 2.00ms ±1.73ms 1 +0.0%
Switch multiple-50 10.80ms 10.00ms ±3.03ms 1 +11.1%
Switch multiple-100 20.27ms 18.00ms ±5.47ms 1 +12.5%

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 1.70ms 2.00ms ±0.48ms 2 +100.0%
Button disabled 0.60ms 1.00ms ±0.52ms 1 +0.0%
Button with-color 0.60ms 1.00ms ±0.52ms 1 +100.0%
Button with-accessibility 0.60ms 1.00ms ±0.52ms 1 +0.0%
Button multiple-10 6.73ms 6.00ms ±1.83ms 1 +0.0%
Button multiple-50 29.40ms 28.00ms ±11.64ms 1 +3.7%
Button multiple-100 37.13ms 26.00ms ±21.39ms 1 +36.8%

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.20ms 0.00ms ±0.42ms 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.10ms 0.00ms ±0.32ms 1 +0.0%
TextInput multiple-100 8.67ms 8.00ms ±2.55ms 1 +14.3%

View

Scenario Mean Median StdDev Renders vs Baseline
View mount 0.20ms 0.00ms ±0.42ms 1 +0.0%
View unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
View rerender 0.10ms 0.00ms ±0.32ms 2 +0.0%
View nested-50 4.33ms 4.00ms ±1.05ms 1 +33.3%
View nested-100 9.80ms 8.00ms ±2.93ms 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 21.47ms 16.00ms ±15.83ms 1 +60.0%

Text

Scenario Mean Median StdDev Renders vs Baseline
Text mount 0.00ms 0.00ms ±0.00ms 1 +0.0%
Text unmount 0.00ms 0.00ms ±0.00ms 0 +0.0%
Text rerender 0.20ms 0.00ms ±0.42ms 2 +0.0%
Text long-1000 0.30ms 0.00ms ±0.48ms 1 +0.0%
Text nested 0.30ms 0.00ms ±0.48ms 1 +0.0%
Text styled 0.30ms 0.00ms ±0.48ms 1 +0.0%
Text multiple-100 8.80ms 9.00ms ±1.78ms 1 +28.6%

SectionList.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
SectionList native mount 7.30ms 7.23ms ±1.20ms 1 +11.2%

FlatList.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
FlatList native mount 6.32ms 6.15ms ±0.85ms 1 -33.4%

TouchableHighlight.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
TouchableHighlight native mount 1.68ms 1.65ms ±0.06ms 1 -21.1%

TouchableOpacity.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
TouchableOpacity native mount 2.08ms 2.01ms ±0.21ms 1 -36.0%

Pressable.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Pressable native mount 2.46ms 2.35ms ±0.83ms 1 -6.5%

ScrollView.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
ScrollView native mount 3.50ms 3.47ms ±0.15ms 1 -14.3%

ActivityIndicator.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
ActivityIndicator native mount 1.70ms 1.50ms ±0.34ms 1 -39.6%

TextInput.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
TextInput native mount 2.24ms 2.17ms ±0.22ms 1 -47.0%

Switch.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Switch native mount 1.53ms 1.35ms ±0.52ms 1 -22.0%

Button.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Button native mount 2.25ms 2.05ms ±0.46ms 1 -21.3%

Modal.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Modal native mount 1.25ms 1.15ms ±0.19ms 1 -5.7%

Image.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Image native mount 1.86ms 1.78ms ±0.23ms 1 -21.4%

View.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
View native mount 1.42ms 1.26ms ±0.42ms 1 -11.6%

Text.native-perf-test.ts

Scenario Mean Median StdDev Renders vs Baseline
Text native mount 1.49ms 1.47ms ±0.09ms 1 -15.4%

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.

2 participants