Skip to content

Demonstrates continuous benchmarking in GitHub Actions using BenchmarkDotNet

License

Notifications You must be signed in to change notification settings

martincostello/benchmarks-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarks Demo

Build status Benchmarks status

Introduction

Demonstrates continuous benchmarking in GitHub Actions using BenchmarkDotNet and martincostello/benchmarkdotnet-results-publisher.

How it works

This project contains a few different examples of BenchmarkDotNet microbenchmarks.

The project is configured to run benchmarks on every push to the main branch using GitHub Actions, as well as every weekday at 0100 UTC, via the benchmark.ps1 PowerShell script.

Running the script will build the project and run the benchmarks. The results are written to the BenchmarkDotNet.Artifacts directory in the root of the repository. These results are then published to another repository, martincostello/benchmarks, by the benchmarkdotnet-results-publisher action.

The results are then viewable in a GitHub Pages site deployed from that repository that consumes the data to view trends over time.

Feedback

Any feedback or issues can be added to the issues for this project in GitHub.

Repository

The repository is hosted in GitHub: https://github.com/martincostello/benchmarks-demo.git

License

This project is licensed under the Apache 2.0 license.