Replace metaperf gedents code with a more useful readdir operation; add some auto-bench scripts for metaperf runs; fix a divide-by-zero in dirperf

This commit is contained in:
fsgqa
2003-09-24 05:00:30 +00:00
parent 8a32dda987
commit 5e5c47620a
6 changed files with 82 additions and 54 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/sh
#
# Runs the metaperf metadata micro-benchmark.
# Use 1000 files, 10 iterations.
#
. $here/common.metaperf
if [ $# -gt 0 ]; then
_format_header
exit 0
fi
$here/src/metaperf -d . -i 10 -n 1000 -l15 $allops | _format_metaperf