Hello,
If you want to measure the performance (loading time) of your application than use newrelic rpm plugin/gem.
Either install newrelic plugin or gem.
script/plugin install http://newrelic.rubyforge.org/svn/newrelic_rpm
or
gem install newrelic_rpm
Add config.gem "newrelic_rpm" in environment.rb
Now in config edit the newrelic.yml
If you want to monitor application in development mode than set monitor mode
development:
<<: *default_settings
monitor_mode: true
developer_mode: true
Now access the http://localhost:#{port}/newrelic. it shows the time consumption as per request. so from this you will get idea from where most time consumed. Based on that you can optimize the code to save time.
Want to get more information?
follow - https://github.com/mislav/newrelic_rpm
If you want to measure the performance (loading time) of your application than use newrelic rpm plugin/gem.
Either install newrelic plugin or gem.
script/plugin install http://newrelic.rubyforge.org/svn/newrelic_rpm
or
gem install newrelic_rpm
Add config.gem "newrelic_rpm" in environment.rb
Now in config edit the newrelic.yml
If you want to monitor application in development mode than set monitor mode
development:
<<: *default_settings
monitor_mode: true
developer_mode: true
Now access the http://localhost:#{port}/newrelic. it shows the time consumption as per request. so from this you will get idea from where most time consumed. Based on that you can optimize the code to save time.
Want to get more information?
follow - https://github.com/mislav/newrelic_rpm
No comments:
Post a Comment