Skip to content

theasylum/sintax

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages