Add initial benchmarking support
Add generic single-element insertion and extraction support

Single-element insertion and extraction may have very high latency. For some
algorithms this is not a problem though.