Update speedup benchmarking script.
Implement double-buffer in PThreds version.