mirror of
https://github.com/mgree/ffs.git
synced 2024-09-11 19:17:40 +03:00
6ed74ee0c7
Benchmarks, in two flavors: real-world benchmarks and synthetic microbenchmarks. `--time` flag for benchmarking output on stderr. Using R to generate pretty graphs. Some overhaul of build scripts and artifacts, with the hope of simplifying the release system.
26 lines
593 B
Bash
Executable File
26 lines
593 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -d micro ] && rm -r micro
|
|
mkdir micro
|
|
for size in 1 2 4 8 16 32 64 128 256
|
|
do
|
|
for approach in deep wide
|
|
do
|
|
# if [ "$approach" = "deep" ] && [ "$size" -ge 128 ]
|
|
# then
|
|
# continue
|
|
# fi
|
|
|
|
for kind in list named
|
|
do
|
|
file="micro/${kind}_${approach}_${size}.json"
|
|
../utils/synth_json $kind $approach $size >$file 2>/dev/null
|
|
if [ $? -ne 0 ] || ! [ -s $file ]
|
|
then
|
|
echo "Couldn't build $file."
|
|
rm $file
|
|
fi
|
|
done
|
|
done
|
|
done
|