using System.Diagnostics;
private static void Bench(string label,Action method,int passes=1000){
var stopwatch = Stopwatch.StartNew();
for(var index=0;index<passes;++index){method();}
Console.WriteLine(label.PadRight(16) + " = " + stopwatch.Elapsed.TotalMilliseconds + " ms");
public static void Main(string[] args){