@Benchmark
    public int offerAndPollLoops() {
        final int burstSize = this.burstSize;
        for (int i = 0; i < burstSize; i++) {
            q.offer(DUMMY_MESSAGE);
        }
        Integer result = DUMMY_MESSAGE;
        for (int i = 0; i < burstSize; i++) {
            result = q.poll();
        }
        return result;
    }
Measure cost of offer/poll on single thread.

@author nitsanw
jctools-benchmarks/src/main/java/org/jctools/jmh/baseline/QueueOfferPoll.java