<commit_before># Studio

Studio is an infrastructure for recording workload patterns.

## Requirements

The following software is assumed to be installed:

* [Redis](http://redis.io) and
* [Sniper](http://snipersim.org).<commit_msg>Extend README<commit_after># Studio

Studio is an infrastructure for recording workload patterns.

The infrastructure currently illustrates the recording technique with respect to
two benchmark suites, namely,

* [PARSEC](http://parsec.cs.princeton.edu) and
* [SPEC CPU2006](https://www.spec.org/cpu2006).

Following the illustration, Studio can be extended to record other programs.

## Installation

The following software is assumed to be installed:

* [Redis](http://redis.io) and
* [SQLite](https://sqlite.org).

Refer to the corresponding websites for further instructions.

The underlying simulation is based on [Sniper](http://snipersim.org). Therefore,
Sniper should be installed as well. This process is described
[here](http://snipersim.org/w/Getting_Started). Sniper should be installed
together with the benchmarks, which is described
[here](http://snipersim.org/w/Download_Benchmarks).

Having installed Sniper and the benchmarks, the following two environment
variables should be set:

* `SNIPER_ROOT` (points at Sniper’s directory) and
* `BENCHMARKS_ROOT` (points at the benchmarks’ directory).
{'fraction_non_alphanumeric': 0.09761549925484352, 'fraction_numerical': 0.005961251862891207, 'mean_word_length': 5.395238095238096, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '152143', 'n_tokens_mistral': 399, 'n_tokens_neox': 371, 'n_words': 138}