Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
exe
images
lib
spec
.gitignore
.rspec
.travis.yml
CODE_OF_CONDUCT.md
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
load_tracer.gemspec

README.md

LoadTracer

This gem can check the dependency files.

require RUBY_VERSION >= 2.7.0

Installation

gem install load_tracer

build local

clone this repository.

git clone https://github.com/siman-man/load_tracer.git

build gem.

bundle exec rake build

install gem.

gem install pkg/load_tracer-0.6.0.gem

Usage

require 'load_tracer'

report = LoadTracer.trace do
  require 'net/http'
end

pp report

dot format

require 'load_tracer'

puts LoadTracer.trace(format: :dot) { require 'prime' }
ruby example.rb | dot -Tpng -o example.png | open example.png

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the LoadTracer project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

You can’t perform that action at this time.