Skip to content

Commit

Permalink
Use Stopwatch.StartNew()
Browse files Browse the repository at this point in the history
  • Loading branch information
mic-max committed Sep 22, 2021
1 parent 15981df commit a33fae9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/StressTestMetrics/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public static void Main(string[] args)
using var meterProvider = Sdk.CreateMeterProviderBuilder()
.AddSource("TestMeter")
.Build();
Stopwatch sw = new Stopwatch();
sw.Start();
Stopwatch sw = Stopwatch.StartNew();

Parallel.Invoke(
() =>
Expand Down

0 comments on commit a33fae9

Please sign in to comment.