Measure resource requirements of scripts.