INF205/lab_2/11/time_N.nu

7 lines
223 B
Plaintext

for x in [1024 512 256 128 64 32 16 8 4 2] {
let filename = 'const_m_timings.csv';
$x | into string | save --append $filename;
", " | save --append $filename;
let m = 2000000;
time -f %e -a -o $filename ./memleak $x $m;
};