Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
paths-ignore:
- 'docs/**'
- 'benchmark/**'

concurrency:
# Skip intermediate builds: always, but for the master branch and tags.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ReleaseTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
paths-ignore:
- 'docs/**'
- 'benchmark/**'

concurrency:
# Skip intermediate builds: always, but for the master branch and tags.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- master
paths-ignore:
- 'docs/**'
- 'benchmark/**'

concurrency:
# Skip intermediate builds: always, but for the master branch.
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ jobs:
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
with:
julia-version: "${{ matrix.version }}"
script: "benchmark/benchmarks.jl"
extra-pkgs: "ModelingToolkitStandardLibrary,OrdinaryDiffEqDefault"
3 changes: 0 additions & 3 deletions benchmark/Project.toml

This file was deleted.

6 changes: 4 additions & 2 deletions benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using ModelingToolkit, BenchmarkTools
using ModelingToolkitStandardLibrary
using ModelingToolkitStandardLibrary.Thermal
using ModelingToolkitStandardLibrary.Electrical
using ModelingToolkitStandardLibrary.Mechanical.Rotational
using ModelingToolkitStandardLibrary.Blocks
using OrdinaryDiffEqDefault

const SUITE = BenchmarkGroup()
Expand Down Expand Up @@ -51,4 +53,4 @@ tspan = (0.0, 6.0)
SUITE["ODEProblem"] = @benchmarkable ODEProblem($model, $u0, $tspan)

prob = ODEProblem(model, u0, tspan)
SUITE["init"] = init($prob)
SUITE["init"] = @benchmarkable init($prob)
Loading