Skip to content

Support overriddenDuration in Fantom benchmarks#53250

Closed
rubennorte wants to merge 2 commits into
facebook:mainfrom
rubennorte:export-D80169515
Closed

Support overriddenDuration in Fantom benchmarks#53250
rubennorte wants to merge 2 commits into
facebook:mainfrom
rubennorte:export-D80169515

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

@rubennorte rubennorte commented Aug 13, 2025

Summary:
Changelog: [internal]
This updates the types for Fantom benchmarks to support the new overriddenDuration option from tinybench.
It also exposes a new method in the benchmark namespace to access the same timestamp used in benchmarks.

Differential Revision: D80169515

@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 Aug 13, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@rubennorte rubennorte changed the title Expose timestamps for benchmarks via Fantom.unstable_benchmark.now Support overriddenDuration in Fantom benchmarks Aug 13, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Differential Revision: D80169516
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: facebook#53250

Changelog: [internal]

This updates the types for Fantom benchmarks to support the new `overriddenDuration` option from `tinybench`.

It also exposes a new method in the benchmark namespace to access the same timestamp used in benchmarks.

Reviewed By: rshest

Differential Revision: D80169515
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Aug 13, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in e8bf982.

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.

2 participants