Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Refactor benchmarks #1203

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
fdcastel wants to merge 5 commits into FirebirdSQL:master
base: master
Choose a base branch
Loading
from fdcastel:refactor-benchmarks

Conversation

Copy link
Member

@fdcastel fdcastel commented Oct 26, 2024

Based on #1200 for now. I will rebase it with latest master in the future.

  • Rename project Perf to FirebirdSql.Data.FirebirdClient.Benchmarks.
  • Update project to use .NET8.
  • Upgrade BenchmarkDotNet to version 0.14.0.
  • Update baseline nuget package to v10.3.1.
  • Add /BenchmarkDotNet.Artifacts folder to .gitignore.
  • Pass command-line arguments to BenchmarkDotNet engine.
  • Apply SQL Formatting. Use raw strings.
  • Add script run-benchmark.ps1.

AddJob(baseJob.WithCustomBuildConfiguration("ReleaseNuGet").WithId("NuGet").AsBaseline());

AddValidator(BaselineValidator.FailOnError);
AddValidator(JitOptimizationsValidator.FailOnError);
Copy link
Contributor

@willibrandon willibrandon Oct 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If full JSON (*full.json) reports are exported then benchmarks results can be compared historically using ResultsComparer.

AddExporter(JsonExporter.Full);

Copy link
Contributor

@willibrandon willibrandon Oct 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, I see how it is supposed to work now!

fdcastel added 5 commits May 17, 2025 22:16
- Rename project 'Perf' to 'FirebirdSql.Data.FirebirdClient.Benchmarks'.
- Update project to use .net8.
- Upgrade BenchmarkDotNet to version 0.14.0.
- Update baseline nuget package to v10.3.1.
- Add /BenchmarkDotNet.Artifacts to .gitignore.
- Pass command-line arguments to BenchmarkDotNet engine.
- Apply SQL Formatting. Use raw strings.
- Add script run-benchmark.ps1.
Copy link
Member Author

Rebase with master.

cincuranet reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
1 more reviewer

@willibrandon willibrandon willibrandon left review comments

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /