-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Set up airspeed velocity benchmarks #1049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
ecf2a9e
add airspeed velocity config and tests
wholmgren d53b782
add documentation
wholmgren cd25327
Merge branch 'master' into asv_setup
kandersolar c75c24d
move whatsnew line to 0.7.2
kandersolar 53568cb
update asv.conf.json to most recent asv format
kandersolar 37095c2
add useful tips to readme
kandersolar 1c6cbb7
modify asv conf to install optional pvlib reqs (pytables etc)
kandersolar 8db2f63
add more benchmarks for location and solarposition
kandersolar 48e6366
fix solarposition docstring
kandersolar 636bcaf
add tracking benchmark file
kandersolar 5a93520
add irradiance benchmark file
kandersolar d480806
fix tracking benchmarks
kandersolar 8b3eb3c
Merge branch 'master' into asv_setup
kandersolar c07003a
test python3.7 only, regardless of installed version
kandersolar 329ba90
switch from conda to virtualenv
kandersolar 066bd9e
restructure
kandersolar 2e3c76e
stickler
kandersolar 3f5b1ba
drop old whatsnew entry
kandersolar 008f8ca
use separate classes for version checking
kandersolar 25d7b9f
fix aoi_projection benchmark
kandersolar daf7e40
do version switching in setup() instead of in global scope
kandersolar c7bb2ec
singular space to satisfy stickler
kandersolar 01e79a4
move asv conf to pvlib
kandersolar 0ff98b6
move benchmarks to subdirectory
kandersolar d42ef6d
change to local repo instead of cloning from GH
kandersolar 37993fa
docs
kandersolar 605d744
update benchmark readme
kandersolar 8c43a12
Merge branch 'master' into asv_setup
kandersolar 73e6347
create 0.8.1 whatsnew
kandersolar 791ee9b
conda channel ordering
kandersolar 64adc84
link to readme
kandersolar 1021400
fix wrong link
kandersolar 85235a5
benchmark on minimum and latest dependency versions
kandersolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add documentation
- Loading branch information
commit d53b782e42aa630a1fa8423052a9638b87e3e384
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
Benchmarks | ||
========== | ||
|
||
pvlib includes a small number of performance benchmarking tests. These | ||
tests are run using | ||
[airspeed velocity](https://asv.readthedocs.io/en/stable/) (ASV). | ||
|
||
The basic structure of the tests and how to run them is described below. | ||
We refer readers to the ASV documentation for more details. | ||
|
||
The test configuration is described in | ||
[``asv.conf.json``](asv.conf.json). | ||
|
||
The performance tests are located in the [benchmarks](benchmarks) directory. | ||
|
||
First, from this directory, run the tests: | ||
|
||
``` | ||
asv run | ||
``` | ||
|
||
Note that, unlike pytest, the asv tests require changes to be committed | ||
to git before they can be tested. The ``run`` command takes a positional | ||
argument to describe the range of git commits or branches to be tested. | ||
For example, if your feature branch is named ``feature``, a useful asv | ||
run may be: | ||
|
||
``` | ||
asv run master..feature | ||
``` | ||
|
||
Next, publish the test results to the archive: | ||
|
||
``` | ||
asv publish | ||
``` | ||
|
||
Finally, start a http server to view the test results: | ||
|
||
``` | ||
asv preview | ||
``` |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.