Sha256: 9371e2297258e3eaeb2fddee02918509683166b659671487e75652247b607920

Contents?: true

Size: 358 Bytes

Versions: 29

Compression:

Stored size: 358 Bytes

Contents

#!/bin/sh

set -uex

DIR=$(dirname $0)
SERVER_ARGS=${SERVER_ARGS:- -drop}
BENCHMARK=${BENCHMARK:-benchmark-client.rb}

go get -d github.com/gorilla/websocket
go build -o $DIR/websocket-echo-server $DIR/websocket-echo-server.go

killall websocket-echo-server || true
$DIR/websocket-echo-server -quiet $SERVER_ARGS &

$DIR/${BENCHMARK}

trap "kill 0" INT EXIT

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
kinetic_sdk-5.0.19 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.18 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.17 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.16 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.15 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.14 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.13 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.12 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.11 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.10 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.9 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.8 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.7 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.6 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.5 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.4 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.3 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.2 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.2.beta.4 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh
kinetic_sdk-5.0.2.beta.3 gems/kontena-websocket-client-0.1.1/benchmark/benchmark.sh