chore: Cleanup html makefile

master
Sean McBride 3 years ago
parent d93b224d4d
commit 39b7209b6c

@ -2,7 +2,6 @@ RUNTIME_DIR=../../runtime/
SLEDGE_BINARY_DIR=${RUNTIME_DIR}/bin SLEDGE_BINARY_DIR=${RUNTIME_DIR}/bin
SLEDGE_TESTS_DIR=${RUNTIME_DIR}/tests SLEDGE_TESTS_DIR=${RUNTIME_DIR}/tests
HOSTNAME=localhost HOSTNAME=localhost
DURATION_SEC=15
all: run all: run
@ -34,14 +33,20 @@ debug: sledgert html
--eval-command="set pagination off" \ --eval-command="set pagination off" \
--eval-command="run spec.json" --eval-command="run spec.json"
client-fib10-once: client:
echo "10" | http :1337 http :1337
client-fib40-once: browser-args:
echo "40" | http :1337 xdg-open "http://localhost:1337"
client-preempt: client-stdin:
(echo "40" | http :10040 &); echo "10" | http :1337 echo "Example STDIN" | http :1337
client-fib10-multi: client-args:
hey -z ${DURATION_SEC}s -cpus 4 -c 100 -t 0 -o csv -m GET -d "10\n" "http://${HOSTNAME}:1337" http ":1337?firstArg&secondArg&thirdArg"
browser-args:
xdg-open "http://localhost:1337?firstArg&secondArg&thirdArg"
client-stdin-args:
echo "Example STDIN" | http ":1337?firstArg&secondArg&thirdArg"

Loading…
Cancel
Save