<commit_before>perfreports
===========

Performance reports based on performance magic<commit_msg>Add basic description to README<commit_after>perfreports
===========

**perfreports** is the simplest way to generate HTML reports based on [perfkeeper](https://github.com/pavel-paulau/perfkeeper) data.


Requirements
------------

* Python 3.4 (e.g., python3-dev package for modern Ubuntu or [this](https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4) for CentOS 6.x)
* virtualenv

Running webapp
--------------

Assuming that perfkeeper database (MongoDB or TokuMX) is running on the same machine:

    $ make run

The command above will start HTTP listener on port 5000.
{'fraction_non_alphanumeric': 0.15577190542420027, 'fraction_numerical': 0.022253129346314324, 'mean_word_length': 3.8979591836734695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3761726', 'n_tokens_mistral': 236, 'n_tokens_neox': 216, 'n_words': 66}