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.3.0-x64-mingw32 bench/run_long.sh
msgpack-1.3.0-x86-mingw32 bench/run_long.sh
msgpack-1.3.0 bench/run_long.sh
msgpack-1.2.10-x64-mingw32 bench/run_long.sh
msgpack-1.2.10-x86-mingw32 bench/run_long.sh
msgpack-1.2.10 bench/run_long.sh
msgpack-1.2.9-x64-mingw32 bench/run_long.sh
msgpack-1.2.9-x86-mingw32 bench/run_long.sh
msgpack-1.2.9 bench/run_long.sh
msgpack-1.2.8-x64-mingw32 bench/run_long.sh
msgpack-1.2.8-x86-mingw32 bench/run_long.sh
msgpack-1.2.8 bench/run_long.sh
msgpack-1.2.7-x64-mingw32 bench/run_long.sh
msgpack-1.2.7-x86-mingw32 bench/run_long.sh
msgpack-1.2.7 bench/run_long.sh
msgpack-1.2.6 bench/run_long.sh
msgpack-1.2.6-x86-mingw32 bench/run_long.sh
msgpack-1.2.6-x64-mingw32 bench/run_long.sh
msgpack-1.2.5-x86-mingw32 bench/run_long.sh
msgpack-1.2.5-x64-mingw32 bench/run_long.sh