Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peek/peek-performance_bar
Take a peek into the window.performance timing behind your Rails app.
https://github.com/peek/peek-performance_bar
peek ruby
Last synced: 7 days ago
JSON representation
Take a peek into the window.performance timing behind your Rails app.
- Host: GitHub
- URL: https://github.com/peek/peek-performance_bar
- Owner: peek
- License: mit
- Created: 2013-03-10T21:12:21.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-04-26T00:37:22.000Z (9 months ago)
- Last Synced: 2025-01-13T08:08:05.035Z (15 days ago)
- Topics: peek, ruby
- Language: JavaScript
- Homepage:
- Size: 45.9 KB
- Stars: 57
- Watchers: 4
- Forks: 20
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Peek::PerformanceBar
Take a peek into the `window.performance` timing behind your app.
![image](https://f.cloud.github.com/assets/79995/268624/14d9df90-8f47-11e2-9718-111c7c367974.png)
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`:
```ruby
Peek.into Peek::Views::PerformanceBar
```You'll then need to add the following CSS and CoffeeScript:
CSS:
```scss
//= require peek
//= require peek/views/performance_bar
```CoffeeScript:
```coffeescript
#= require peek
#= require peek/views/performance_bar
```## Contributors
- [@josh](https://github.com/josh) - The original implementation.
- [@tmm1](https://github.com/tmm1) - The original implementation.
- [@rtomayko](https://github.com/rtomayko) - The original implementation.
- [@kneath](https://github.com/kneath) - The original implementation.
- [@dewski](https://github.com/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