2023-08-22 10:29:59 +02:00
|
|
|
#!/bin/fish
|
|
|
|
set minthreads 1
|
2023-08-22 13:21:26 +02:00
|
|
|
set maxthreads 8
|
2023-08-22 10:29:59 +02:00
|
|
|
|
|
|
|
julia --project=./examples -t 4 -e 'import Pkg; Pkg.instantiate()'
|
|
|
|
|
2023-08-22 13:21:26 +02:00
|
|
|
#for i in $(seq $minthreads $maxthreads)
|
|
|
|
# printf "(AB->AB, $i) "
|
2023-10-12 17:51:03 +02:00
|
|
|
# julia --project=./examples -t $i -O3 -e 'using MetagraphOptimization; using BenchmarkTools; @btime get_operations(graph) setup=(graph = parse_dag("input/AB->AB.txt"), ABCModel())'
|
2023-08-22 13:21:26 +02:00
|
|
|
#end
|
2023-08-22 10:29:59 +02:00
|
|
|
|
2023-08-22 13:21:26 +02:00
|
|
|
#for i in $(seq $minthreads $maxthreads)
|
|
|
|
# printf "(AB->ABBB, $i) "
|
2023-10-12 17:51:03 +02:00
|
|
|
# julia --project=./examples -t $i -O3 -e 'using MetagraphOptimization; using BenchmarkTools; @btime get_operations(graph) setup=(graph = parse_dag("input/AB->ABBB.txt"), ABCModel())'
|
2023-08-22 13:21:26 +02:00
|
|
|
#end
|
2023-08-22 10:29:59 +02:00
|
|
|
|
2023-08-22 13:21:26 +02:00
|
|
|
#for i in $(seq $minthreads $maxthreads)
|
|
|
|
# printf "(AB->ABBBBB, $i) "
|
2023-10-12 17:51:03 +02:00
|
|
|
# julia --project=./examples -t $i -O3 -e 'using MetagraphOptimization; using BenchmarkTools; @btime get_operations(graph) setup=(graph = parse_dag("input/AB->ABBBBB.txt"), ABCModel())'
|
2023-08-22 13:21:26 +02:00
|
|
|
#end
|
2023-08-22 10:29:59 +02:00
|
|
|
|
|
|
|
for i in $(seq $minthreads $maxthreads)
|
|
|
|
printf "(AB->ABBBBBBB, $i) "
|
2023-10-12 17:51:03 +02:00
|
|
|
julia --project=./examples -t $i -O3 -e 'using MetagraphOptimization; using BenchmarkTools; @btime get_operations(graph) setup=(graph = parse_dag("input/AB->ABBBBBBB.txt"), ABCModel())'
|
2023-08-22 10:29:59 +02:00
|
|
|
end
|