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
memcached-1.3.3 test/profile/valgrind.rb
memcached-1.3.2 test/profile/valgrind.rb
memcached-1.3.1 test/profile/valgrind.rb
memcached-1.3 test/profile/valgrind.rb
couchbase-memcached-1.2.9 test/profile/valgrind.rb
couchbase-memcached-1.2.8 test/profile/valgrind.rb
memcached-1.2.7 test/profile/valgrind.rb
memcached-1.2.6 test/profile/valgrind.rb
memcached-1.2.6.pre2 test/profile/valgrind.rb
memcached-1.2.6.pre test/profile/valgrind.rb
memcached-1.2.5 test/profile/valgrind.rb
memcached-1.2.4.pre test/profile/valgrind.rb
memcached-1.2.3 test/profile/valgrind.rb