Skip to content

Commit a5e79e2

Browse files
committed
re-run benchmarks
1 parent 5b999d1 commit a5e79e2

File tree

6 files changed

+26
-14
lines changed

6 files changed

+26
-14
lines changed

bench/Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
33
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
44
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
5-
PSFModels = "9ba017d1-7760-46cd-84a3-1e79e9ae9ddc"
65
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
76

87
[compat]
98
BenchmarkTools = "0.5"
109
CSV = "0.8"
11-
PSFModels = "0.1.1"
1210
PyCall = "1"

bench/bench.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ apm = pyimport("astropy.modeling.models")
1212

1313

1414
julia_models = [
15-
Gaussian((5.3, 4.7)),
16-
AiryDisk(12.7),
17-
Moffat(8.1)
15+
Gaussian(fwhm=(5.3, 4.7)),
16+
AiryDisk(fwhm=12.7),
17+
Moffat(fwhm=8.1)
1818
]
1919
astropy_models = [
2020
apm.Gaussian2D(x_stddev=5.3, y_stddev=4.7),

bench/pyproject.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[tool.poetry]
2+
name = "bench"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Miles Lucas <[email protected]>"]
6+
7+
[tool.poetry.dependencies]
8+
python = "^3.7,<3.10"
9+
astropy = "^4"
10+
11+
[tool.poetry.dev-dependencies]
12+
13+
[build-system]
14+
requires = ["poetry-core>=1.0.0"]
15+
build-backend = "poetry.core.masonry.api"

bench/requirements.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

bench/results.csv

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name,psfmodels,astropy
2-
Gaussian,1.5832665330661323e-8,0.000164387
3-
AiryDisk,3.699092741935484e-8,0.000108041
4-
Moffat,1.192685370741483e-8,9.8272e-5
2+
Gaussian,1.7845536609829487e-8,0.000140762
3+
AiryDisk,3.8075681130171544e-8,9.5973e-5
4+
Moffat,4.638e-9,8.5892e-5

docs/src/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ $ julia --project=bench bench/bench.jl
6969
**System Information**
7070

7171
```
72-
Julia Version 1.5.0
73-
Commit 96786e22cc (2020-08-01 23:44 UTC)
72+
Julia Version 1.6.0
73+
Commit f9720dc2eb* (2021-03-24 12:55 UTC)
7474
Platform Info:
75-
OS: macOS (x86_64-apple-darwin18.7.0)
75+
OS: macOS (x86_64-apple-darwin20.3.0)
7676
CPU: Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
7777
WORD_SIZE: 64
7878
LIBM: libopenlibm
79-
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
79+
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
8080
Environment:
81-
JULIA_NUM_THREADS = 4
81+
JULIA_NUM_THREADS = 1
8282
```
8383

8484
```@setup bench

0 commit comments

Comments
 (0)