Skip to content

Latest commit

 

History

History
58 lines (33 loc) · 1.06 KB

README.rst

File metadata and controls

58 lines (33 loc) · 1.06 KB

sintax

sintax provides a small library and utility for converting Criterion.rs CSV files into Google's Benchmark JSON format. It also allows you to read in Google JSON formatted files, and iterate over the list of results, for further post-processing.

Python versions supported: 3.6, 3.7

Usage

Install the library, and then import sintax.

import sintax

If you want to use the command line utility you may do so easily:

sintax.convert --criterion <CRITERION_PATH> --gbenchmark-json=benchmark.json

Installation

pip install sintax

Development

This project uses pre-commit to automatically verify code style and linting using black the Python code formatter.

pre-commit install

Then everytime you run git commit the code will be verified to match our style.

You may also run black directly using tox

tox -e run-black

For running tests and verifying everything continues to work, please run:

tox