Skip to content

Demo using BenchmarkDotNet(BDN) to benchmark performance

License

Notifications You must be signed in to change notification settings

windperson/DemoFibonacciBDN

Repository files navigation

Fibonacci Sequence generate algorithm Benchmark Demo

This repository demo using BenchmarkDotNet to benchmark various Fibonacci Sequence generate algorithm,

Micro benchmark

To quickly run all micro benchmark(s), on root project folder, run:

dotnet run -c Release --project ./Benchmarks/FibSeqMicroBench/FibSeqMicroBench.csproj -- --warmupcount 1 --runOncePerIteration --filter '*'

you can see available micro benchmarks by using postfix -- --list flat command line argument.

By default, the recursion version of benchmark will only run up to 50th Fibonacci number (Because of its slowness), If you want to try out more recursion version benchmark, run with the additional argument --envVars RecursLimit:[The_upper_limit_you_desired] appended at end.

About

Demo using BenchmarkDotNet(BDN) to benchmark performance

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages