setup project. initial import of uzbl
[uzbl-mobile] / misc / dmenu-performancetest-generate-dummy-history-file.sh
1 #!/bin/bash
2 echo "Creating dummy file of 50MB in size (625000 entries of 80chars)"
3 echo "Note: this takes about an hour and a half"
4 entries_per_iteration=1000
5 for i in `seq 1 625`
6 do
7         echo "Iteration $i of 625 ( $entries_per_iteration each )"
8         for j in `seq 1 $entries_per_iteration`
9         do
10                 echo "`date +'%Y-%m-%d %H:%M:%S'` `date +%s`abcdefhijklmno`date +%s | md5sum`" >> ./dummy_history_file
11         done
12 done