Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/astrojuanlu/sgp4-benchmarks

SGP4 benchmarks
https://github.com/astrojuanlu/sgp4-benchmarks

Last synced: about 1 month ago
JSON representation

SGP4 benchmarks

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"
```