code/analysis of computational time and memory use for batch jobs