Welcome to our benchmarking project in .NET with C#! Whether you're optimizing existing code or developing new applications, understanding performance is crucial. With our suite of benchmarking projects, you can analyze execution times, memory usage, and more, making informed decisions to enhance your software's efficiency and reliability. Explore our benchmarks and optimize your .NET C# code effectively.
Metric | Description |
---|---|
Mean | The average execution time of a method across multiple iterations. |
Error | The margin of error associated with the mean, indicating uncertainty. |
StdDev | The standard deviation measures the dispersion or spread of execution times around the mean. |
Median | The middle value of a dataset when arranged in ascending order. |
Rank | .NET Framework | Method | Mean | Error | StdDev |
---|---|---|---|---|---|
1 | 8.0 | Find() | 7.165 us | 0.2059 us | 0.5973 us |
2 | 8.0 | FirstOrDefault() | 11.567 us | 0.3401 us | 0.9593 us |
3 | 8.0 | Where_FirstOrDefault() | 11.801 us | 0.2776 us | 0.8055 us |
Rank | .NET Framework | Method | Mean | Error | StdDev | Median |
---|---|---|---|---|---|---|
1 | 4.8 | Find() | 17.16 us | 0.651 us | 1.918 us | 17.30 us |
2 | 4.8 | Where_FirstOrDefault() | 17.92 us | 0.947 us | 2.670 us | 16.97 us |
3 | 4.8 | FirstOrDefault() | 43.49 us | 3.421 us | 10.086 us | 39.22 us |
Rank | .NET Framework | Method | Mean | Error | StdDev |
---|---|---|---|---|---|
1 | 8.0 | Find() | 7.165 us | 0.2059 us | 0.5973 us |
2 | 4.8 | Find() | 17.16 us | 0.651 us | 1.918 us |
Rank | .NET Framework | Method | Mean | Error | StdDev |
---|---|---|---|---|---|
1 | 8.0 | FirstOrDefault() | 11.567 us | 0.3401 us | 0.9593 us |
2 | 4.8 | FirstOrDefault() | 43.49 us | 3.421 us | 10.086 us |
Rank | .NET Framework | Method | Mean | Error | StdDev | Median |
---|---|---|---|---|---|---|
1 | 8.0 | Where_FirstOrDefault() | 11.801 us | 0.2776 us | 0.8055 us | |
2 | 4.8 | Where_FirstOrDefault() | 17.92 us | 0.947 us | 2.670 us | 16.97 us |
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin feature/your-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
The MIT License is a permissive open-source license that allows you to use, modify, and distribute this software for both commercial and non-commercial purposes. You should include the full text of the MIT License in a file named LICENSE
in your repository.