summaryrefslogtreecommitdiffstats
path: root/qifs.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xqifs.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/qifs.sh b/qifs.sh
new file mode 100755
index 0000000..53afc8f
--- /dev/null
+++ b/qifs.sh
@@ -0,0 +1,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