Mercurial > pub > ImplabNet
comparison MonoPlay/Program.cs @ 122:0c8685c8b56b v2
minor fixes and improvements of AsyncQueue, additional tests
author | cin |
---|---|
date | Mon, 12 Jan 2015 22:20:45 +0300 |
parents | 62d2f1e98c4e |
children | a336cb13c6a9 |
comparison
equal
deleted
inserted
replaced
121:62d2f1e98c4e | 122:0c8685c8b56b |
---|---|
52 } | 52 } |
53 ) | 53 ) |
54 .Combine() | 54 .Combine() |
55 .Join(); | 55 .Join(); |
56 | 56 |
57 Console.WriteLine("done: {0} ms, summ#1: {1}, summ#2: {2}, total: {3}", Environment.TickCount - t1, res1, res2, res1 + res2); | 57 Console.WriteLine("done: {0} ms, summ#1: {1}, summ#2: {2}, total: {3}, count: {4}", Environment.TickCount - t1, res1, res2, res1 + res2, count*2); |
58 | 58 |
59 var t2 = Environment.TickCount; | 59 var t2 = Environment.TickCount; |
60 Console.WriteLine("MTQueue: {0} ms", t2 - t1); | 60 Console.WriteLine("MTQueue: {0} ms", t2 - t1); |
61 | 61 |
62 t1 = Environment.TickCount; | 62 t1 = Environment.TickCount; |