Skip to content

Take a peek into the window.performance timing behind your Rails app.

License

Notifications You must be signed in to change notification settings

peek/peek-performance_bar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Peek::PerformanceBar

Take a peek into the window.performance timing behind your app.

image

Things this peek view provides:

  • Frontend
  • Latency / Receiving
  • Backend
  • TCP / SSL
  • Redirect
  • DNS Lookup

Installation

Add this line to your application's Gemfile:

gem 'peek-performance_bar'

And then execute:

$ bundle

Or install it yourself as:

$ gem install peek-performance_bar

Usage

Add the following to your config/initializers/peek.rb:

Peek.into Peek::Views::PerformanceBar

You'll then need to add the following CSS and CoffeeScript:

CSS:

//= require peek
//= require peek/views/performance_bar

CoffeeScript:

#= require peek
#= require peek/views/performance_bar

Contributors

  • @josh - The original implementation.
  • @tmm1 - The original implementation.
  • @rtomayko - The original implementation.
  • @kneath - The original implementation.
  • @dewski - Just the extractor.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request