![]() CreateEmpty ( ) // A configuration for our benchmarks. If you don't like attributes, you can call most of the APIs via the fluent style and write code like this: If you want to compare performance in different environments, use jobs.įor example, you can run all the benchmarks on. Via : BenchmarkDotNet will compare it with all of the other benchmarks. ![]() Mark one of the benchmark as the baseline If you want to compare benchmarks with each other, Mark a field or a property with : BenchmarkDotNet will enumerate all of the specified values You can design very complicated performance experiments in the declarative style using simple APIs.įor example, if you want to parameterize your benchmark, You shouldn't be an experienced performance engineer if you want to write benchmarks. Simplicity, automation, reliability, and friendliness. Supported architectures: x86, 圆4, ARM, ARM64, Wasm and LoongArch64 FeaturesīenchmarkDotNet has tons of features that are essential in comprehensive performance investigations.įour aspects define the design of these features: Supported languages: C#, F#, Visual Basic The measured data can be exported to different formats (md, html, csv, xml, json, etc.) including plots: Intel Core i7-7700K CPU 4.20GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |