Skip to content

Commit

Permalink
format julia
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewCaseres committed Mar 29, 2024
1 parent d04dbad commit 184fea0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions Julia/basic_term.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ function run_basic_term_benchmark()
cf1_benchmark = @benchmark cf1()
result = cf1()
return Dict(
"Julia Benchmarks basic_term" => Dict(
"minimum time" => string(minimum(cf1_benchmark)),
"result" => string(result),
),
)
end
4 changes: 1 addition & 3 deletions Julia/basic_term_array.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,7 @@ function run_basicterm_array_benchmark()
)

return Dict(
"Julia basic term array" => Dict(
"result" => result,
"minimum time" => string(minimum(b1)),
),
)
)
end
6 changes: 3 additions & 3 deletions Julia/main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ function run_benchmarks()
return Dict(
"mortality" => run_mortality_benchmarks(),
"exposures" => run_exposure_benchmarks(),
"basic_term_benchmark" => Dict(
"basic_term" => run_basic_term_benchmark(),
"basic_term_array" => run_basicterm_array_benchmark(),
"basic_term" => Dict(
"Julia recursive basic_term" => run_basic_term_benchmark(),
"Julia array basic_term" => run_basicterm_array_benchmark(),
),
"savings_benchmark" => run_savings_benchmark(),
)
Expand Down

0 comments on commit 184fea0

Please sign in to comment.