Skip to content

Exclude benchmark tests by default, add --benchmarks flag#55725

Closed
sammy-SC wants to merge 1 commit intofacebook:mainfrom
sammy-SC:export-D92150163
Closed

Exclude benchmark tests by default, add --benchmarks flag#55725
sammy-SC wants to merge 1 commit intofacebook:mainfrom
sammy-SC:export-D92150163

Conversation

@sammy-SC
Copy link
Contributor

Summary:
By default, yarn fantom now excludes benchmark tests (*-benchmark-itest.js files) to speed up regular test runs.

Benchmark tests are typically slower and used for performance analysis rather than correctness testing. Excluding them by default improves the developer experience for everyday test runs.

To run benchmark tests, use the new --benchmarks flag:

yarn fantom --benchmarks

Differential Revision: D92150163

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 24, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 24, 2026

@sammy-SC has exported this pull request. If you are a Meta employee, you can view the originating Diff in D92150163.

sammy-SC added a commit to sammy-SC/react-native that referenced this pull request Feb 24, 2026
…5725)

Summary:

changelog: [internal]

By default, `yarn fantom` now excludes benchmark tests (`*-benchmark-itest.js` files) to speed up regular test runs.

Benchmark tests are typically slower and used for performance analysis rather than correctness testing. Excluding them by default improves the developer experience for everyday test runs.

To run benchmark tests, use the new `--benchmarks` flag:
```
yarn fantom --benchmarks
```

Reviewed By: andrewdacenko

Differential Revision: D92150163
sammy-SC added a commit to sammy-SC/react-native that referenced this pull request Feb 24, 2026
…5725)

Summary:
Pull Request resolved: facebook#55725

changelog: [internal]

By default, `yarn fantom` now excludes benchmark tests (`*-benchmark-itest.js` files) to speed up regular test runs.

Benchmark tests are typically slower and used for performance analysis rather than correctness testing. Excluding them by default improves the developer experience for everyday test runs.

To run benchmark tests, use the new `--benchmarks` flag:
```
yarn fantom --benchmarks
```

Reviewed By: andrewdacenko

Differential Revision: D92150163
…5725)

Summary:

changelog: [internal]

By default, `yarn fantom` now excludes benchmark tests (`*-benchmark-itest.js` files) to speed up regular test runs.

Benchmark tests are typically slower and used for performance analysis rather than correctness testing. Excluding them by default improves the developer experience for everyday test runs.

To run benchmark tests, use the new `--benchmarks` flag:
```
yarn fantom --benchmarks
```

Reviewed By: andrewdacenko

Differential Revision: D92150163
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @sammy-SC in 677330a

When will my fix make it into a release? | How to file a pick request?

@meta-codesync
Copy link

meta-codesync bot commented Feb 25, 2026

This pull request has been merged in 677330a.

@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 25, 2026
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants