Skip to content

Commit d6dba41

Browse files
author
Alex Peck
committed
cleanup
1 parent cf60dee commit d6dba41

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

BitFaster.Caching.Benchmarks/TimeBenchmarks.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
namespace BitFaster.Caching.Benchmarks
88
{
9-
//#if Windows
10-
// [DisassemblyDiagnoser(printSource: true, maxDepth: 5)]
11-
// [SimpleJob(RuntimeMoniker.Net48)]
12-
//#endif
9+
#if Windows
10+
[DisassemblyDiagnoser(printSource: true, maxDepth: 5)]
11+
[SimpleJob(RuntimeMoniker.Net48)]
12+
#endif
1313
[SimpleJob(RuntimeMoniker.Net90)]
1414
[HideColumns("Job", "Median", "RatioSD", "Alloc Ratio")]
1515
public class TimeBenchmarks
@@ -75,7 +75,7 @@ public Duration DurationSinceEpoch()
7575
[Benchmark()]
7676
public long SystemTimeProvider()
7777
{
78-
#if NET9_0_OR_GREATER
78+
#if NET8_0_OR_GREATER
7979
return TimeProvider.System.GetTimestamp();
8080
#else
8181
return 0;

0 commit comments

Comments
 (0)