Skip to content

Instantly share code, notes, and snippets.

@teoadal
Last active July 20, 2022 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save teoadal/c2b4666b2353d77adafcfd36ea9f9331 to your computer and use it in GitHub Desktop.
Save teoadal/c2b4666b2353d77adafcfd36ea9f9331 to your computer and use it in GitHub Desktop.
Method Runtime Mean Ratio Gen 0 Gen 1 Gen 2 Allocated
AutoClosure .NET 6.0 6.131 ms 1.00 203.1250 - - 1,711 KB
ParallelFor .NET 6.0 1.850 ms 0.30 265.6250 - - 2,158 KB
ParallelForeach .NET 6.0 1.916 ms 0.31 271.4844 - - 2,221 KB
SelfClosure .NET 6.0 5.883 ms 0.96 93.7500 - - 774 KB
AutoClosure .NET Core 3.1 6.727 ms 1.00 203.1250 - - 1,713 KB
ParallelFor .NET Core 3.1 1.925 ms 0.29 257.8125 - - 2,108 KB
ParallelForeach .NET Core 3.1 2.015 ms 0.30 265.6250 - - 2,182 KB
SelfClosure .NET Core 3.1 6.880 ms 1.02 93.7500 - - 773 KB
AutoClosure .NET Framework 4.6.1 8.776 ms 1.00 296.8750 46.8750 15.6250 1,890 KB
ParallelFor .NET Framework 4.6.1 1.726 ms 0.20 208.9844 9.7656 1.9531 1,290 KB
ParallelForeach .NET Framework 4.6.1 1.861 ms 0.21 216.7969 9.7656 1.9531 1,345 KB
SelfClosure .NET Framework 4.6.1 8.380 ms 0.95 140.6250 15.6250 - 954 KB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment