https://github.com/aimenux/measureexecutiontimedemo
Using various ways to measure execution time
https://github.com/aimenux/measureexecutiontimedemo
console-app fody measure-time net80 stopwatch
Last synced: about 2 months ago
JSON representation
Using various ways to measure execution time
- Host: GitHub
- URL: https://github.com/aimenux/measureexecutiontimedemo
- Owner: aimenux
- License: mit
- Created: 2023-12-16T20:22:20.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T21:32:12.000Z (almost 2 years ago)
- Last Synced: 2025-02-27T01:54:32.415Z (10 months ago)
- Topics: console-app, fody, measure-time, net80, stopwatch
- Language: C#
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/MeasureExecutionTimeDemo/actions/workflows/ci.yml)
# MeasureExecutionTimeDemo
```
Using various ways to measure execution time
```
In this repo, i m using various ways to measure method execution time.
>
> - `UsingStopWatch` is using [StopWatch](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stopwatch)
>
> - `UsingEfficientStopWatch` is using a [memory efficient StopWatch](https://github.com/dotnet/runtime/issues/65858)
>
> - `UsingTimeProvider` is using a [TimeProvider](https://learn.microsoft.com/fr-fr/dotnet/api/system.timeprovider)
>
> - `UsingMethodTimerFody` is using [Fody](https://github.com/Fody/MethodTimer)
>
**`Tools`** : net 8.0, fody