We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0415b2a commit d3efd65Copy full SHA for d3efd65
test/bench_simplify.jl
@@ -1,11 +1,20 @@
1
# Copyright (c) 2024, 2025 Bart van de Lint, Uwe Fechner
2
# SPDX-License-Identifier: MIT
3
4
+function is_running_on_github_ci()
5
+ return get(ENV, "CI", "") == "true" &&
6
+ get(ENV, "GITHUB_ACTIONS", "") == "true" &&
7
+ haskey(ENV, "GITHUB_RUN_ID")
8
+end
9
+
10
SIMPLE = false
11
T_REF = 48.0 # AMD Ryzen 7840U, Julia 1.11, no sys image [s]
12
# 37s with sys image
13
if VERSION.minor==12
14
T_REF /= 0.70 # Julia 1.12 is about 30% slower on AMD Ryzen 7 7840U
15
+ if is_running_on_github_ci()
16
+ T_REF /= 0.85 # GitHub CI is about 15% slower than local Ryzen 7 7840U
17
+ end
18
end
19
if Sys.iswindows()
20
T_REF /= 0.75 # Windows is about 25% slower than Linux on same hardware
0 commit comments