Sha256: 1c02676496cc4a4ab1b13419f4b6b1c213831c30ee0aec17bd9dca6f4ea19f2e

Contents?: true

Size: 557 Bytes

Versions: 33

Compression:

Stored size: 557 Bytes

Contents

require "#{File.dirname(__FILE__)}/../setup"

COMMAND =  "--dsymutil=yes ruby -r#{File.dirname(__FILE__)}/exercise.rb -e \"Worker.new(ENV['TEST'] || 'everything', (ENV['LOOPS'] || 50).to_i, 'true').work\""

case ENV["TOOL"]
when nil, "memcheck":
  exec("valgrind --tool=memcheck --error-limit=no --undef-value-errors=no --leak-check=full --show-reachable=no --num-callers=15 --track-fds=yes --workaround-gcc296-bugs=yes --leak-resolution=med --max-stackframe=7304328 #{COMMAND}")
when "massif":
  exec("valgrind --tool=massif --time-unit=B #{COMMAND}")
end

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
vinted-memcached-1.8.4 test/profile/valgrind.rb
vinted-memcached-1.8.3 test/profile/valgrind.rb
vinted-memcached-1.8.2 test/profile/valgrind.rb
vinted-memcached-1.8.0 test/profile/valgrind.rb
dalli_memcached-1.8.0 test/profile/valgrind.rb
memcached-1.8.0 test/profile/valgrind.rb
memcached-1.7.2 test/profile/valgrind.rb
memcached-1.7.0 test/profile/valgrind.rb
memcached-1.6.1 test/profile/valgrind.rb
memcached-1.6.0 test/profile/valgrind.rb
memcached-1.5.1 test/profile/valgrind.rb
memcached-1.5.0 test/profile/valgrind.rb
memcached-1.4.6 test/profile/valgrind.rb
memcached-1.4.5 test/profile/valgrind.rb
memcached-1.4.3 test/profile/valgrind.rb
memcached-1.4.2 test/profile/valgrind.rb
memcached-1.4.1 test/profile/valgrind.rb
memcached-1.3.7 test/profile/valgrind.rb
memcached-1.3.5 test/profile/valgrind.rb
memcached-1.3.4 test/profile/valgrind.rb