<commit_before>#!/bin/sh

rm -f results.csv
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 1 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 2 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 3 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 4 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 5 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 6 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 7 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 8 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 9 -d 600; done
for f in memcache redis mysql postgresql; do echo; ruby benchmark.rb -b $f -t 10 -d 600; done<commit_msg>extended run all shell script<commit_after>#!/bin/sh

#check all benchmarks work
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 10 -d 1 -o warmup.csv; done
rm -f warmup.csv

rm -f results_all.csv
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 1 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 2 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 3 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 4 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 5 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 6 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 7 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 8 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 9 -d 600 -o results_all.csv; done
for f in memcache redis mongo mysql mysql_innodb mysql_active_record postgresql; do echo; ruby benchmark.rb -b $f -t 10 -d 600 -o results_all.csv; done
{'fraction_non_alphanumeric': 0.07639391745112238, 'fraction_numerical': 0.030774800868935553, 'mean_word_length': 3.8473684210526318, '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': '6043969', 'n_tokens_mistral': 1075, 'n_tokens_neox': 932, 'n_words': 451}