Sha256: c8657055201fb5bbdb3d873470f80bed77fc1f575cedb61462025337eacb049e

Contents?: true

Size: 603 Bytes

Versions: 70

Compression:

Stored size: 603 Bytes

Contents

#!/bin/sh

# so master and this branch have the benchmark file in any case
cp bench/pack_symbols.rb bench/pack_symbols_tmp.rb

benchmark=""
current_branch=`git rev-parse --abbrev-ref HEAD`

for branch in master $current_branch; do
    echo "Testing branch $branch"
    git checkout $branch

    echo "Installing gem..."
    rake install

    echo "Running benchmark..."
    if [ "$benchmark" ]; then
        benchmark+=$'\n'
    fi
    benchmark+=$(viiite run bench/pack_symbols_tmp.rb)
    echo
done

rm bench/pack_symbols_tmp.rb

echo "$benchmark" | viiite report --regroup bench,reg_type,count,branch

Version data entries

70 entries across 70 versions & 3 rubygems

Version Path
msgpack-1.3.0-x64-mingw32 bench/run_symbols.sh
msgpack-1.3.0-x86-mingw32 bench/run_symbols.sh
msgpack-1.3.0 bench/run_symbols.sh
msgpack-1.2.10-x64-mingw32 bench/run_symbols.sh
msgpack-1.2.10-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.10 bench/run_symbols.sh
msgpack-1.2.9-x64-mingw32 bench/run_symbols.sh
msgpack-1.2.9-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.9 bench/run_symbols.sh
msgpack-1.2.8-x64-mingw32 bench/run_symbols.sh
msgpack-1.2.8-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.8 bench/run_symbols.sh
msgpack-1.2.7-x64-mingw32 bench/run_symbols.sh
msgpack-1.2.7-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.7 bench/run_symbols.sh
msgpack-1.2.6 bench/run_symbols.sh
msgpack-1.2.6-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.6-x64-mingw32 bench/run_symbols.sh
msgpack-1.2.5-x86-mingw32 bench/run_symbols.sh
msgpack-1.2.5-x64-mingw32 bench/run_symbols.sh