Created
December 13, 2016 23:49
-
-
Save Fireforge/8b54acdf3fcee3aa412976658df0c569 to your computer and use it in GitHub Desktop.
A Sequential.Invoke function to use as a baseline for Parallel.Invoke performance test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class Sequential | |
{ | |
public static void Invoke(params System.Action[] actions) | |
{ | |
foreach (var a in actions) | |
a.Invoke(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment