File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ ![ Build Status] ( https://github.com/"heltonmc"/Bessels.jl/actions/workflows/CI.yml/badge.svg?branch=main )] ( https://github.com/"heltonmc"/Bessels.jl/actions/workflows/CI.yml?query=branch%3Amain )
4
4
[ ![ Coverage] ( https://codecov.io/gh/"heltonmc"/Bessels.jl/branch/main/graph/badge.svg )] ( https://codecov.io/gh/"heltonmc"/Bessels.jl )
5
+
6
+
7
+ # Benchmarks
8
+
9
+ Comparing the relative speed (` SpecialFunctions.jl / Bessels.jl ` ) for a vector of values between 0 and 100.
10
+
11
+ ## Float32
12
+
13
+ | function | Relative speed |
14
+ | ------------- | ------------- |
15
+ | besselj0 | 1.7x |
16
+ | besselj1 | 1.7x |
17
+ | bessely0 | 1.6x |
18
+ | bessely1 | 1.6x |
19
+ | besseli0 | 24x |
20
+ | besseli1 | 22x |
21
+ | besselk0 | 13x |
22
+ | besselk1 | 15x |
23
+
24
+ ## Float64
25
+
26
+ | function | Relative speed |
27
+ | ------------- | ------------- |
28
+ | besselj0 | 1.7x |
29
+ | besselj1 | 1.9x |
30
+ | bessely0 | 1.5x |
31
+ | bessely1 | 1.5x |
32
+ | besseli0 | 9x |
33
+ | besseli1 | 7x |
34
+ | besselk0 | 5x |
35
+ | besselk1 | 5x |
You can’t perform that action at this time.
0 commit comments