Sha256: 6a6b574cbb1aa44d5cc7e59404203ef6bcf7de772db5931982e77eca4855f8d0

Contents?: true

Size: 869 Bytes

Versions: 6803

Compression:

Stored size: 869 Bytes

Contents

# frozen_string_literal: true
#### SETUP
require 'bundler'
Bundler.setup
require 'rspec'

require 'support/localhost_server'
require 'support/server'
require_relative 'support/memory_test_helpers'

require 'logger'

if ENV['VERBOSE']
  Ethon.logger = Logger.new($stdout)
  Ethon.logger.level = Logger::DEBUG
end

RSpec.configure do |config|
  config.before(:suite) do
    LocalhostServer.new(TESTSERVER.new, 3001)
  end
  config.include(MemoryTestHelpers)
  config.extend(MemoryTestHelpers::TestMethods)
end

MemoryTestHelpers.setup
MemoryTestHelpers.logger = Logger.new($stdout)
MemoryTestHelpers.logger.level = Logger::INFO
MemoryTestHelpers.logger.formatter = proc do |severity, datetime, progname, msg|
  "\t\t#{msg}\n"
end

if ENV['VERBOSE']
  MemoryTestHelpers.logger.level = Logger::DEBUG
end

MemoryTestHelpers.iterations = ENV.fetch("ITERATIONS", 10_000).to_i

Version data entries

6,803 entries across 6,801 versions & 23 rubygems

Version Path
ory-client-1.16.4 vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.179 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.179 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.177 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.177 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.176 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.176 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.175 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.175 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.174 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.174 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.173 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.173 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
ory-client-1.16.3 vendor/bundle/ruby/3.1.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.172 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.172 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.171 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.171 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_id_ruby-0.123.170 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb
cybrid_api_organization_ruby-0.123.170 vendor/bundle/ruby/3.3.0/gems/ethon-0.16.0/profile/perf_spec_helper.rb