Skip to content

Commit

Permalink
Now benchmarks work for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
sumiya11 committed Jan 27, 2024
1 parent c53a3f9 commit badaae4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion benchmark/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.9.2"
julia_version = "1.9.3"
manifest_format = "2.0"
project_hash = "6865383ce42c88181097bacd9cb84b611a2e4fbc"

Expand Down
6 changes: 4 additions & 2 deletions benchmark/generate/benchmark_systems/SIAN/SIAN.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import AbstractAlgebra

eqpath(path1, path2) = normpath(path1) == normpath(path2)

for (root, dir, files) in walkdir((@__DIR__))
for file in files
if (@__DIR__) * "/$file" == (@__FILE__)
if eqpath((@__DIR__) * "/$file", (@__FILE__))
continue
end
include((@__DIR__) * "/$file")
Expand All @@ -13,7 +15,7 @@ function load_SIAN_all(; np=AbstractAlgebra, ground=np.QQ, ordering=:degrevlex)
systems = []
for (root, dir, files) in walkdir((@__DIR__))
for file in files
if (@__DIR__) * "/$file" == (@__FILE__)
if eqpath((@__DIR__) * "/$file", (@__FILE__))
continue
end
name = Symbol(split(file, "/")[end][1:(end - 3)])
Expand Down
2 changes: 1 addition & 1 deletion benchmark/generate/groebner/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.9.2"
julia_version = "1.9.3"
manifest_format = "2.0"
project_hash = "eb2490cccda0f14cdfe8e2f4733f8e311a7e9319"

Expand Down
4 changes: 2 additions & 2 deletions benchmark/one_script_to_run_them_all.jl
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ function main()
printstyled("(!) ", color=:light_yellow)
println("Cannot benchmark $backend")
finally
cleanup(systems)
# cleanup(systems)
end
end
collect_all_timings(args, runtimes, systems)
Expand All @@ -979,7 +979,7 @@ function main()
validate_results(args, solved_problems)
collect_timings(args, solved_problems)
finally
cleanup(solved_problems)
# cleanup(solved_problems)
end
end
end
Expand Down
14 changes: 7 additions & 7 deletions benchmark/results/groebner/benchmark_result_0.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
## Benchmark results

2024-01-27T13:22:27.349
2024-01-27T16:09:40.799

Benchmarked backend: groebner

Benchmark suite: dummy benchmark set

- Workers: 1
- Timeout: 1800 s
- Aggregated over: 3 runs
- Workers: 4
- Timeout: 1000 s
- Aggregated over: 1 runs

**All timings in seconds.**

Expand All @@ -19,9 +19,9 @@ Benchmark suite: dummy benchmark set

*Benchmarking environment:*

* Total RAM (GiB): 188
* Processor: Intel(R) Xeon(R) Gold 6130 CPU @ 2.10GHz
* Julia version: 1.9.2
* Total RAM (GiB): 15
* Processor: Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
* Julia version: 1.9.3

Versions of the dependencies:

Expand Down

0 comments on commit badaae4

Please sign in to comment.