Commit b5f9b2fb authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Benchmark tweaks.

parent 54200cdb
......@@ -15,6 +15,7 @@ gomake -C zipfs
gomake -C bulkstat
MP=/tmp/zipbench
fusermount -u ${MP} || true
mkdir -p ${MP}
ZIPFS=$PWD/zipfs/zipfs
......@@ -37,14 +38,16 @@ ${ZIPFS} ${MP} ${ZIPFILE} >& zipfs.log &
sleep ${DELAY}
# Warm caches.
${BULKSTAT} /tmp/zipfiles.txt
${BULKSTAT} -runs 1 /tmp/zipfiles.txt
6prof -p $! -d 20 -t 3 -hs -l -h -f >& /tmp/zipfs.6prof &
sleep 0.1
# C++ binaries can do this ~0.2ms/stat.
echo -e "\n\n"
${BULKSTAT} /tmp/zipfiles.txt
${BULKSTAT} -runs 5 /tmp/zipfiles.txt
echo -e "\n\n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment