aboutsummaryrefslogtreecommitdiffhomepage
path: root/misc/dmenu-performancetest-generate-dummy-history-file.sh
blob: 7650b468847f5a04fa0e3dbb9af3f3f5df3872de (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
echo "Creating dummy file of 50MB in size (625000 entries of 80chars)"
entries_per_iteration=1000
for i in `seq 1 625`
do
	echo "Iteration $i of 625 ( $entries_per_iteration each )"
	for j in `seq 1 $entries_per_iteration`
	do
		echo "`date +'%Y-%m-%d %H:%M:%S'` `date +%s`abcdefhijklmno`date +%s | md5sum`" >> ./dummy_history_file
	done
done