Increase queue preallocation size.

This commit is contained in:
Bartosz Taudul 2017-09-24 15:59:53 +02:00
parent 6a4f3842af
commit bf12704b0f

View File

@ -29,7 +29,9 @@
namespace tracy
{
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * 64 * 1024 );
enum { QueuePrealloc = 256 * 1024 };
static moodycamel::ConcurrentQueue<QueueItem> s_queue( QueueItemSize * QueuePrealloc );
static moodycamel::ProducerToken& GetToken()
{