<commit_before># cpp_print_tests
A bunch of stdio, iostream, and string performance tests.

Use make or the Visual Studio 2015 project to compile, which will produce the 
executable print-tests.

To use run "print-tests [--help] [-use-setvbuf] [-console COUNT] [-file COUNT] [-string COUNT] [-rerun COUNT]"<commit_msg>Added Windows 7/i3-2370M run results<commit_after># cpp_print_tests
A bunch of stdio, iostream, and string performance tests.

Use make or the Visual Studio 2015 project to compile, which will produce the 
executable print-tests.

To use run "print-tests [--help] [-use-setvbuf] [-console COUNT] [-file COUNT] [-string COUNT] [-rerun COUNT]"

Results on Windows 7/Intel i3-2370M compiled with Visual Studio 2015:

```
stdout test iterations = 1000
file test iterations = 1000000
string test iterations = 500000
number of times each test was run = 11

stdout tests with buffer (setvbuf,pubsetbuf) = 65536 bytes:
printf test time = 168.00ms
cout test time = 145.27ms
template printf test time = 129.45ms
template cpp printf test time = 161.00ms

file tests:
fprintf test time = 7523.91ms
buffered (formatted) fwrite test time = 5741.64ms
ofstream test time = 16942.91ms
buffered (formatted) ofstream write test time = 5786.18ms
template fprintf test time = 10508.91ms
template cpp fprintf test time = 22311.00ms
binary fwrite test time = 4052.73ms
buffered binary fwrite test time = 1321.73ms
binary ofstream write test time = 5441.45ms
buffered binary ofstream write test time = 1390.91ms

file tests with buffer (setvbuf) = 65536 bytes:
fprintf test time = 7424.09ms
buffered (formatted) fwrite test time = 5625.09ms
ofstream test time = 16598.55ms
buffered (formatted) ofstream write test time = 5644.64ms
template fprintf test time = 10329.18ms
template cpp fprintf test time = 21700.36ms
binary fwrite test time = 3922.09ms
buffered binary fwrite test time = 1299.09ms
binary ofstream write test time = 5325.91ms
buffered binary ofstream write test time = 1396.55ms

string tests:
sprintf test time = 2743.64ms
template sprintf test time = 2431.64ms
heap sprintf test time = 2663.36ms
ostringstream test time = 7505.82ms
template heap sprintf test time = 2754.18ms
```
{'fraction_non_alphanumeric': 0.07217907720420283, 'fraction_numerical': 0.10461397898583828, 'mean_word_length': 4.558375634517766, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3449815', 'n_tokens_mistral': 842, 'n_tokens_neox': 658, 'n_words': 288}