Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astrojuanlu/sgp4-benchmarks
SGP4 benchmarks
https://github.com/astrojuanlu/sgp4-benchmarks
Last synced: about 1 month ago
JSON representation
SGP4 benchmarks
- Host: GitHub
- URL: https://github.com/astrojuanlu/sgp4-benchmarks
- Owner: astrojuanlu
- License: mit
- Created: 2020-12-08T10:04:13.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T13:54:12.000Z (about 4 years ago)
- Last Synced: 2024-10-14T19:59:17.637Z (2 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SGP4 benchmarks
## Installation
Install the dependencies:
```
(env) $ python -m pip install -r requirements.txt
```or, alternatively:
```
(env) $ python -m pip install pip-tools && pip-sync
```## Running the benchmarks
To run the benchmarks:
```
(env) $ pytest
```and, to produce the histogram plots,
```
(env) $ pytest --benchmark-histogram
```### Slow benchmarks
The "multiple satellites, multiple dates" large case is extremely slow compared to the other ones,
and this is especially troublesome for the pure Python implementation.
If you want to disable the slowest benchmarks, use the `-m "not slow"` option in pytest.
Example:```
(env) $ pytest -k pure -m "not slow"
```