Skip to content

Commit

Permalink
Specify *_NUM_THREADS via BenchmarkConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Jul 13, 2019
1 parent 371d802 commit 40a5baf
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion benchmark/runbenchmarks.jl
@@ -1,2 +1,11 @@
using PkgBenchmark
benchmarkpkg(dirname(@__DIR__), resultfile=joinpath(@__DIR__, "result.json"))
benchmarkpkg(
dirname(@__DIR__),
BenchmarkConfig(
env = Dict(
"JULIA_NUM_THREADS" => "1",
"OMP_NUM_THREADS" => "1",
),
),
resultfile = joinpath(@__DIR__, "result.json"),
)

0 comments on commit 40a5baf

Please sign in to comment.