]> git.ipfire.org Git - thirdparty/zstd.git/commit
[pzstd] Spawn less threads in tests
authorNick Terrell <terrelln@fb.com>
Fri, 23 Sep 2016 01:59:22 +0000 (18:59 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 23 Sep 2016 01:59:22 +0000 (18:59 -0700)
commit5ca471990b9697f128fb1849c509667d7e6df2ca
tree3a16d7d9cd0c0054c2e51ed5d8d51ff5ca43cb77
parent2b4de225e10c0c749711bda15a40ef836b79dfe1
[pzstd] Spawn less threads in tests

MinGW thread performance degrades significantly when there are
a lot of threads, so limit the number of threads spawned to ~10.
contrib/pzstd/test/PzstdTest.cpp
contrib/pzstd/utils/test/ThreadPoolTest.cpp
contrib/pzstd/utils/test/WorkQueueTest.cpp