WIP
A modern profiler for Rails applications.
- Add the gem to your Rails application's Gemfile (adjust the
require
option to match your server of choice):
# require in just the server process
gem "dial", require: !!($PROGRAM_NAME =~ /puma/)
- Install the gem:
bundle install
- Mount the engine in your
config/routes.rb
file:
# this will mount the engine at /dial
mount Dial::Engine, at: "/" if Object.const_defined?("Dial::Engine")
After checking out the repo, run bin/setup
to install dependencies. Then, run bundle exec rake test
to run the
tests. You can also run bin/console
for an interactive prompt that will allow you to experiment.
Bug reports and pull requests are welcome on GitHub at https://github.com/joshuay03/dial.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Dial project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.