mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.benchmarks
git-svn-id: svn://ultimatepp.org/upp/trunk@14437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8f93b7a0eb
commit
15dbf1f7d0
1 changed files with 2 additions and 4 deletions
|
|
@ -5,7 +5,7 @@ using namespace Upp;
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define N 10000
|
#define N 10000
|
||||||
#else
|
#else
|
||||||
#define N 10000000
|
#define N 100000000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CONSOLE_APP_MAIN
|
CONSOLE_APP_MAIN
|
||||||
|
|
@ -30,7 +30,7 @@ CONSOLE_APP_MAIN
|
||||||
RLOG("CoSort " << tm);
|
RLOG("CoSort " << tm);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CPU_64
|
#if 0
|
||||||
{
|
{
|
||||||
CoWork::SetPoolSize(400);
|
CoWork::SetPoolSize(400);
|
||||||
auto h1 = clone(h);
|
auto h1 = clone(h);
|
||||||
|
|
@ -39,7 +39,5 @@ CONSOLE_APP_MAIN
|
||||||
RLOG("CoSort (big pool) " << tm);
|
RLOG("CoSort (big pool) " << tm);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Thread::ShutdownThreads();
|
|
||||||
RLOG("Exit");
|
RLOG("Exit");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue