Installation & Usage
Install either with pipx or pip. Both work, use what you want. Or optionally you can install from github using pip install git+https://github.com/wasi-master/fastero
For usage please check out the documentation
Features
For more info on all of these features, please the documentation
- 🌟 Beautiful formatted, and colored output. Output is reminiscent of hyperfine
- 🤯 Amazing exporting options
- 📊 Export as a bar plot with matplotlib
- 🌃 Export as a beautiful image with the console output
- ℹ️ Export as Markdown, HTML, CSV, AsciiDoc tables
- 💾 Export as JSON and YAML data to use them elsewhere
- 🔁 You can also import the JSON data later within fastero to re-run the benchmark with the same parameters or to export the data again with different parameters.
- 🚀 Extremely intuitive and easy to use.
- 🔢 Benchmark multiple snippets
- 🔤 Assign a name to each snippet to make it easier to distinguish
- 📈 Get nice statistics about the each of the snippet and a summary on how fast each of them are compared to each other
- ↩ Enter multiline code in an input with syntax highlighting and amazing autocomplete
- ⏰ Excellent time parsing. Inputs like
500ms,10s,1m5s,1.5m,1h30m15s, etc. work flawlessly - 🔥 Run a few times without timing with the warmup parameter to fill caches and things like that.
- 👨 Customize it to your liking.
- 🔣 Custom time formats e.g. nanoseconds, microseconds, milliseconds, seconds etc.
- 🎨 Custom theme for code input and/or output.
- 🎛️ Control how long each snippet is benchmarked for
- 🔢 Specify a minimum and a maximum amount of runs to calculate the number of runs automatically based on run duration
- 🔟 Or specify a definite number of runs for manual override
- 💻 Cross-platform.
- 🤯 Open source.
- 📚 Extensive documentation.
Acknowledgements
- hyperfine - Inspiration for creating this library and the UI.
- snappify.io - Inspiration for the Image export.
- rich - Used for beautiful output
Metadata
Release files for fastero 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fastero-0.2.5.tar.gz | 23.5 kB | Without provenance | Details for fastero-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fastero-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for fastero-0.2.5-py3-none-any.whl |
Total release size: 46.6 kB
Release files / fastero-0.2.5.tar.gz
| Download URL | fastero-0.2.5.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2439b5a7b36cedc7c58d66432357807d36dcac589211038700a85782b1885bd6
|
|
BLAKE2b-256 checksum How to use checksums |
15a92d8b036cd5056ca2cf87b1994ef4d664ff8f5abc605e53802f391df2037d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.1.dev11+ga6dd69c CPython/3.9.7
|
Release files / fastero-0.2.5-py3-none-any.whl
| Download URL | fastero-0.2.5-py3-none-any.whl |
|---|---|
| Size | 23.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98bab3a5803cf7dcbca1a68a365c63c56b79dc7c3e48e462c70502756ec53b05
|
|
BLAKE2b-256 checksum How to use checksums |
8124fb04f3c4b17521ada859193ef9c4b040c3dca1fc0cc612b01c23d64ee0da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.1.dev11+ga6dd69c CPython/3.9.7
|
Security for fastero 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.