-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ErikQQY <2283984853@qq.com>
- Loading branch information
Showing
3 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
function benchmark_caputo(tag::String, end_tag::String, step_size::Real) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, step_size, CaputoDiethelm()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, step_size, CaputoL1()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, $step_size, CaputoDiethelm()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, $step_size, CaputoL1()) | ||
end | ||
|
||
function benchmark_RL(tag::String, end_tag::String, step_size::Real) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, step_size, RLD()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, step_size, RLDiffL1()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, $step_size, RLD()) | ||
SUITE["fracdiff"]["cpu"][tag][end_tag] = @benchmarkable fracdiff(x->x^2, 0.5, 1, $step_size, RLDiffL1()) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0744025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmark Results
fracdiff/cpu/Caputo/CaputoL1
43481
nsfracdiff/cpu/Caputo/CaputoDiethelm
43492
nsfracdiff/cpu/RiemannLiouville/RLDiffL1
44744
nsfracdiff/cpu/RiemannLiouville/RLD
44723
nsThis comment was automatically generated by workflow using github-action-benchmark.