Skip to content

Instantly share code, notes, and snippets.

View TurpentineDistillery's full-sized avatar

TurpentineDistillery

View GitHub Profile
@TurpentineDistillery
TurpentineDistillery / benchmarks.cpp
Created March 13, 2018 12:39
Concurrent-queue benchmarks.
#include <queue>
#include <algorithm>
#include <functional>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <atomic>
#include <future>
#include <chrono>
#include <cassert>