adds median to performance measurements