Завершить трек 1: исследовать масштабирование, сохранить графики и фактический отчёт

This commit is contained in:
2026-10-23 19:23:26 +03:00
parent d30f418cec
commit 374c43e7e2
85 changed files with 41699 additions and 40 deletions
+3 -3
View File
@@ -100,15 +100,15 @@ def main():
for mode, n, rep in jobs:
label=f'{mode}-{n}-{rep}'
if not args.only or label in args.only:
benchmark(label, n, 2/n if mode=='fixed' else .5, 1024//n if mode=='fixed' else 256, 10)
benchmark(label, n, 2/n if mode=='fixed' else .5, 1024//n if mode=='fixed' else 256, 10, optimized=0)
elif args.phase == 'saturation':
for concurrency in [4, 16, 64, 128]:
for rep in range(1, 3):
benchmark(f'saturation-{concurrency}-{rep}', 4, .5, 256, 10, concurrency)
benchmark(f'saturation-{concurrency}-{rep}', 4, .5, 256, 10, concurrency, optimized=0)
elif args.phase == 'pool':
for rep in range(1, 4):
for pool in ([1,10] if rep%2 else [10,1]):
benchmark(f'pool-{pool}-{rep}', 2, 1, 512, pool, 64)
benchmark(f'pool-{pool}-{rep}', 2, 1, 512, pool, 64, optimized=0)
elif args.phase == 'rolling':
benchmark('rolling', 2, .5, 256, 10, 16, 45, True)
elif args.phase == 'optimize':