Skip to content

[Fabric]: Performance Tests for React Native Windows#15666

Open
iamAbhi-916 wants to merge 14 commits intomicrosoft:mainfrom
iamAbhi-916:perf-test
Open

[Fabric]: Performance Tests for React Native Windows#15666
iamAbhi-916 wants to merge 14 commits intomicrosoft:mainfrom
iamAbhi-916:perf-test

Conversation

@iamAbhi-916
Copy link
Contributor

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

Description

Performance testing framework for RNW Fabric components.
Each test measures mount, unmount, re-render and component specific test scenario times also records baselines via snapshot matching.

How to Run

cd packages/e2e-test-app-fabric
yarn perf                                              # all tests
yarn perf -- --testPathPattern=FlatList                 # single component
yarn perf:update                                       # update all baselines
yarn perf:update --testPathPattern=TouchableHighlight   # update one baseline

CLI Generator

yarn perf:create -- --name=ComponentName scaffolds a new .perf-test.tsx file with the correct structure, required props detection, and category selection.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

RNW Fabric had no automated way to catch render performance regressions in core components.

Resolves #15665

What

Refer this wiki : https://github.com/microsoft/react-native-windows/wiki/Performance-tests-Fabric

Screenshots

image

Testing

Tested locally, mock ran as CI

Changelog

Should this change be included in the release notes: yes

Add a brief summary of the change to use in the release notes for the next release.
Added @react-native-windows/perf-testing, a component performance testing framework for RNW Fabric

Microsoft Reviewers: Open in CodeFlow

@iamAbhi-916 iamAbhi-916 changed the title [Fabric]: Performance Tests for React Native Windows(Component wise) [Fabric]: Performance Tests for React Native Windows Feb 15, 2026
@vineethkuttan vineethkuttan marked this pull request as ready for review February 16, 2026 09:34
@vineethkuttan vineethkuttan requested review from a team as code owners February 16, 2026 09:35
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.

Component wise performance tests for fabric

1 participant