import os
import timeit

for N in [1, 2, 4, 16, 32]:
  print ("**************** N = {} ****************".format(N))
  for Np in [1, 2, 4, 8, 16]:
    print ("(Np, Nc) = ({}, 1)".format(Np))
    print (timeit.timeit('import os; os.system("./main {} 1 {} >> /dev/null")'.format(Np, N), number=10)/10)
  for Nc in [2, 4, 8, 16]:
    print ("(Np, Nc) = (1, {})".format(Nc))
    print (timeit.timeit('import os; os.system("./main 1 {} {} >> /dev/null")'.format(Nc, N), number=10)/10)

0b8e4b9a8ee6b907c330a4babc20fce60da78ac4
<mask token>

<mask token>
for N in [1, 2, 4, 16, 32]:
    print('**************** N = {} ****************'.format(N))
    for Np in [1, 2, 4, 8, 16]:
        print('(Np, Nc) = ({}, 1)'.format(Np))
        print(timeit.timeit(
            'import os; os.system("./main {} 1 {} >> /dev/null")'.format(Np,
            N), number=10) / 10)
    for Nc in [2, 4, 8, 16]:
        print('(Np, Nc) = (1, {})'.format(Nc))
        print(timeit.timeit(
            'import os; os.system("./main 1 {} {} >> /dev/null")'.format(Nc,
            N), number=10) / 10)

import os
import timeit
for N in [1, 2, 4, 16, 32]:
    print('**************** N = {} ****************'.format(N))
    for Np in [1, 2, 4, 8, 16]:
        print('(Np, Nc) = ({}, 1)'.format(Np))
        print(timeit.timeit(
            'import os; os.system("./main {} 1 {} >> /dev/null")'.format(Np,
            N), number=10) / 10)
    for Nc in [2, 4, 8, 16]:
        print('(Np, Nc) = (1, {})'.format(Nc))
        print(timeit.timeit(
            'import os; os.system("./main 1 {} {} >> /dev/null")'.format(Nc,
            N), number=10) / 10)

import os
import timeit

for N in [1, 2, 4, 16, 32]:
  print ("**************** N = {} ****************".format(N))
  for Np in [1, 2, 4, 8, 16]:
    print ("(Np, Nc) = ({}, 1)".format(Np))
    print (timeit.timeit('import os; os.system("./main {} 1 {} >> /dev/null")'.format(Np, N), number=10)/10)
  for Nc in [2, 4, 8, 16]:
    print ("(Np, Nc) = (1, {})".format(Nc))
    print (timeit.timeit('import os; os.system("./main 1 {} {} >> /dev/null")'.format(Nc, N), number=10)/10)
