Add benchmark running to the pipeline

This commit is contained in:
2023-06-29 16:22:58 +02:00
parent 0cd83fedd9
commit f2638ab74f
5 changed files with 36 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
using metagraph_optimization
using MetagraphOptimization
function main()
graph = DAG()

View File

@@ -8,6 +8,10 @@ function bench_txt(filepath::String, bench::Bool = true)
name, _ = splitext(name)
filepath = joinpath(@__DIR__, filepath)
if !isfile(filepath)
println("File ", filepath, " does not exist, skipping bench")
return
end
println(name, ":")
g = import_txt(filepath)