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.5.3 bench/run_symbols.sh
msgpack-1.5.2 bench/run_symbols.sh
msgpack-1.5.1 bench/run_symbols.sh
msgpack-1.5.0 bench/run_symbols.sh
msgpack-1.4.5 bench/run_symbols.sh
msgpack-1.4.4 bench/run_symbols.sh
msgpack-1.4.3 bench/run_symbols.sh
msgpack-1.4.2 bench/run_symbols.sh
msgpack-1.4.0.pre1 bench/run_symbols.sh
msgpack-1.3.3-x64-mingw32 bench/run_symbols.sh
msgpack-1.3.3-x86-mingw32 bench/run_symbols.sh
msgpack-1.3.3 bench/run_symbols.sh
msgpack-1.3.2-x64-mingw32 bench/run_symbols.sh
msgpack-1.3.2-x86-mingw32 bench/run_symbols.sh
msgpack-1.3.2 bench/run_symbols.sh
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/bench/run_symbols.sh
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/msgpack-1.3.1/bench/run_symbols.sh
msgpack-1.3.1-x64-mingw32 bench/run_symbols.sh
msgpack-1.3.1-x86-mingw32 bench/run_symbols.sh
msgpack-1.3.1 bench/run_symbols.sh