comparison Implab.Test/AsyncTests.cs @ 125:f803565868a4 v2

improved performance of promises
author cin
date Thu, 15 Jan 2015 12:09:20 +0300
parents a336cb13c6a9
children e9e7940c7d98
comparison
equal deleted inserted replaced
124:a336cb13c6a9 125:f803565868a4
631 } 631 }
632 632
633 [TestMethod] 633 [TestMethod]
634 public void ChainedMapTest() { 634 public void ChainedMapTest() {
635 635
636 using (var pool = new WorkerPool(0,10,1)) { 636 using (var pool = new WorkerPool()) {
637 const int count = 10000; 637 const int count = 10000;
638 638
639 var args = new double[count]; 639 var args = new double[count];
640 var rand = new Random(); 640 var rand = new Random();
641 641