Skip to content

Improve naming for benchmark suite options#49014

Closed
rubennorte wants to merge 1 commit into
facebook:mainfrom
rubennorte:export-D68710952
Closed

Improve naming for benchmark suite options#49014
rubennorte wants to merge 1 commit into
facebook:mainfrom
rubennorte:export-D68710952

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

Use better names for the Fantom benchmarking API than the ones defined in tinybench:

  • time => minDuration
  • iterations = minIterations
  • warmupTime => minWarmupDuration
  • warmupIterations => minWarmupIterations

Differential Revision: D68710952

Summary:
Changelog: [internal]

Use better names for the Fantom benchmarking API than the ones defined in `tinybench`:
* `time` => `minDuration`
* `iterations` = `minIterations`
* `warmupTime` => `minWarmupDuration`
* `warmupIterations` => `minWarmupIterations`

Differential Revision: D68710952
@facebook-github-bot facebook-github-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 Jan 28, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68710952

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @rubennorte in 252294b

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

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 30, 2025
facebook-github-bot pushed a commit that referenced this pull request Feb 5, 2025
Summary:
Pull Request resolved: #49192

Changelog: [internal]

We refactored the public API of Fantom benchmarks in #49014 but that refactor broke test only mode, as we started overriding the options after setting them. This fixes that.

Reviewed By: javache

Differential Revision: D69176983

fbshipit-source-id: 9afc2d2f27fb2ee0aa452d4b02c28531acf40b8e
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. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants