update benchmark script for thresholds