Skip to content

Instantly share code, notes, and snippets.

@Fireforge
Created December 13, 2016 23:49
Show Gist options
  • Save Fireforge/8b54acdf3fcee3aa412976658df0c569 to your computer and use it in GitHub Desktop.
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
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