.benchmarks

git-svn-id: svn://ultimatepp.org/upp/trunk@10152 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-08-08 07:31:37 +00:00
commit 9b16db6032

View file

@ -3,7 +3,7 @@
using namespace Upp;
#ifdef _DEBUG
#define N 1000
#define N 10000
#else
#define N 10000000
#endif
@ -29,6 +29,15 @@ CONSOLE_APP_MAIN
CoSort(h1);
RLOG("CoSort " << tm);
}
{
CoWork::SetPoolSize(400);
auto h1 = clone(h);
TimeStop tm;
CoSort(h1);
RLOG("CoSort (big pool) " << tm);
}
DLOG("Exit");
Thread::ShutdownThreads();
RLOG("Exit");
}