Add benchmark running to the pipeline
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using metagraph_optimization
|
||||
using MetagraphOptimization
|
||||
|
||||
function main()
|
||||
graph = DAG()
|
||||
|
@@ -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)
|
||||
|
Reference in New Issue
Block a user