Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/markpflug/benchmarks
Benchmarks for various .NET libraries.
https://github.com/markpflug/benchmarks
Last synced: 4 days ago
JSON representation
Benchmarks for various .NET libraries.
- Host: GitHub
- URL: https://github.com/markpflug/benchmarks
- Owner: MarkPflug
- Created: 2020-12-05T00:30:25.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T15:51:26.000Z (24 days ago)
- Last Synced: 2024-10-22T02:49:22.422Z (23 days ago)
- Language: C#
- Homepage:
- Size: 29.4 MB
- Stars: 16
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Sylvan Benchmarks
This repository contains benchmarks for my collection of [Sylvan](https://github.com/MarkPflug/Sylvan) .NET libraries,
comparing them with other libraries in the .NET ecosystem.
The benchmarks are written using [BenchmarkDotNet](https://github.com/dotnet/BenchmarkDotNet).
The various libraries provide different APIs, so the while each benchmark has slightly
different construction, I believe they provide a fair comparison.
If any of the benchmarks are found to be incorrectly setup,
I'd happily welcome a pull request with a fix.Many of the benchmarks in this collection use sample "Sales Record" data files from
[excelbianalytics.com](https://excelbianalytics.com/wp/downloads-18-sample-csv-files-data-sets-for-testing-sales/).
This files contains 14 columns of multiple data types including string, integer, date, and decimal.## Running benchmarks
`benchmark.cmd`
This will compile and run the benchmark project, which will then present
a selection for which benchmark set to run.## Benchmark Environment
Benchmark results were updated with latest package versions as of Nov 14, 2023, as well as updating to .NET 8.0.
The benchmark results reported here were run with the following configuration, unless otherwise noted:
```
BenchmarkDotNet v0.13.10, Windows 10 (10.0.19045.3570/22H2/2022Update)
Intel Core i7-7700K CPU 4.20GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores
.NET SDK 8.0.100
[Host] : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2
```## [CSV Reader Benchmarks](docs/CsvReaderBenchmarks.md)
Benchmarks for libraries that implement CSV readers.
## [CSV Writer Benchmarks](docs/CsvWriterBenchmarks.md)
Benchmarks for libraries that implement CSV writers.
## [Excel Reader Benchmarks](docs/ExcelReaderBenchmarks.md)
Benchmarks for Excel data reader libraries processing .xlsx, .xlsb, and xls files.
## [Excel Writer Benchmarks](docs/ExcelWriterBenchmarks.md)
Benchmarks for Excel libraries writing .xlsx files.
## [XBase Reader Benchmarks](docs/XBaseDataReaderBenchmarks.md)
Benchmarks for .dbf data reader libraries.