add crude profiler to process.py

Just keeps time.time() values in a global array.

Also added some comments about worst performing operations.

When creating two files, only call savefig() once and copy the file
directly to create the second one to save a bit of time.
version-controlling ideas file