summaryrefslogtreecommitdiffstats
path: root/qifs.sh
blob: 53afc8fac297f49ccc8203f13adfc2c9c97f443e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
set -e

destdir=qifs/encoded/qpack-05/nghttp3
mkdir -p "$destdir"

for f in qifs/qifs/*.qif; do
    prefix=`basename ${f%.qif}`

    for maxtablesize in 0 256 512 4096; do
	for maxblocked in 0 100; do
	    echo $f $maxtablesize $maxblocked 0
	    outprefix=$prefix.out.$maxtablesize.$maxblocked
	    examples/qpack encode "$f" "$destdir/$outprefix.0" -s$maxtablesize -m$maxblocked
	    echo $f $maxtablesize $maxblocked 1
	    examples/qpack encode "$f" "$destdir/$outprefix.1" -s$maxtablesize -m$maxblocked -a
	done
    done
done