Your point about the terminal being the bottleneck is interesting btw. I recently did some large imports into postgres in .net, and was running in debug mode, which had many queries logged to the debug console. Removing that logging led to about a 10,000x speedup. I wonder how much terminal output like this costs in terms of lost efficiency :).
https://www.youtube.com/watch?v=yxyYKnashR0