#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

for I in $(seq $2); do
perf stat ./nq $1 2>&1 | grep "seconds" | awk '{print $1}'
done
