Sha256: 4babb441eda72185871096af1b3c37842475983aaeabf2281e16c507d3d0da2b

Contents?: true

Size: 787 Bytes

Versions: 106

Compression:

Stored size: 787 Bytes

Contents

#!/bin/sh

# prerequisites
# $ sudo apt-get install sysstat
# $ rbenv shell 2.2.1 (or jruby-x.x.x or ...)
# $ rake install

# 60 * 600 : 60*60 * 5[threads] * 2[bench]

ruby -v

echo "pack log long"
viiite report --regroup bench,threads bench/pack_log_long.rb &
sar -o pack_log_long.sar -r 60 600 > /dev/null 2>&1 &

declare -i i=0
while [ $i -lt 600 ]; do
    ps auxww | grep ruby | grep -v grep | awk '{print $5,$6;}' >> pack_log_long.mem.txt
    i=i+1
    sleep 60
done

sleep 120 # cool down

echo "unpack log long"
viiite report --regroup bench,threads bench/unpack_log_long.rb &
sar -o unpack_log_long.sar -r 60 600 > /dev/null 2>&1 &

i=0
while [ $i -lt 600 ]; do
    ps auxww | grep ruby | grep -v grep | awk '{print $5,$6;}' >> pack_log_long.mem.txt
    i=i+1
    sleep 60
done

Version data entries

106 entries across 106 versions & 3 rubygems

Version Path
msgpack-1.5.3 bench/run_long.sh
msgpack-1.5.2 bench/run_long.sh
msgpack-1.5.1 bench/run_long.sh
msgpack-1.5.0 bench/run_long.sh
msgpack-1.4.5 bench/run_long.sh
msgpack-1.4.4 bench/run_long.sh
msgpack-1.4.3 bench/run_long.sh
msgpack-1.4.2 bench/run_long.sh
msgpack-1.4.0.pre1 bench/run_long.sh
msgpack-1.3.3-x64-mingw32 bench/run_long.sh
msgpack-1.3.3-x86-mingw32 bench/run_long.sh
msgpack-1.3.3 bench/run_long.sh
msgpack-1.3.2-x64-mingw32 bench/run_long.sh
msgpack-1.3.2-x86-mingw32 bench/run_long.sh
msgpack-1.3.2 bench/run_long.sh
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/bench/run_long.sh
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/bench/run_long.sh
msgpack-1.3.1-x64-mingw32 bench/run_long.sh
msgpack-1.3.1-x86-mingw32 bench/run_long.sh
msgpack-1.3.1 bench/run_long.sh