test script calc avg. on deadlocked runs