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.0.3 bench/run_symbols.sh
msgpack-1.0.2-x64-mingw32 bench/run_symbols.sh
msgpack-1.0.2-x86-mingw32 bench/run_symbols.sh
msgpack-1.0.2 bench/run_symbols.sh
msgpack-1.0.1-x64-mingw32 bench/run_symbols.sh
msgpack-1.0.1-x86-mingw32 bench/run_symbols.sh
msgpack-1.0.1 bench/run_symbols.sh
msgpack-1.0.0-x64-mingw32 bench/run_symbols.sh
msgpack-1.0.0-x86-mingw32 bench/run_symbols.sh
msgpack-1.0.0 bench/run_symbols.sh