Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperloop-rails/powerstation
A Tool for Detecting Performance Bugs in Rails Applications
https://github.com/hyperloop-rails/powerstation
performance-analysis performance-tuning rails rails-application webapp
Last synced: 27 days ago
JSON representation
A Tool for Detecting Performance Bugs in Rails Applications
- Host: GitHub
- URL: https://github.com/hyperloop-rails/powerstation
- Owner: hyperloop-rails
- License: bsd-2-clause
- Created: 2017-11-14T14:52:13.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T23:45:14.000Z (over 6 years ago)
- Last Synced: 2024-09-27T16:03:30.413Z (about 1 month ago)
- Topics: performance-analysis, performance-tuning, rails, rails-application, webapp
- Language: Ruby
- Homepage: https://hyperloop-rails.github.io/
- Size: 41.2 MB
- Stars: 57
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PowerStation
[Powerstation](https://hyperloop-rails.github.io/powerstation/) is a tool that finds performance bugs in Rails applications, for example, API misuse, repeated query, etc.
## Using the tool
There are two ways to use Powerstation:
- As a RubyMine plugin that you can [download from the jetbrains website](https://plugins.jetbrains.com/plugin/10604-powerstation). The source code is included in this repo under `powerstation/IDE_plugin`.
- As command line tool. The instructions and source code are included in this repo under `powerstation/command_line_tool`.
Both of these uses a static code checker that we have built to detect performance issues. The source code of the checker is in `static-checker`.
These are packaged in two separate branches (`IDE_plugin`, `static-checker`) in case you prefer checkout each part individually, for example:
```
$ git clone -b static-checker --single-branch https://github.com/hyperloop-rails/static-checker.git
```## Currently detected bugs
1. Loop invariant queries
2. Dead store queries
3. Unused data-retrieval queries
4. Common sub-expression queries
5. API misuses
6. Inefficient data rendering
Details of these are explained in [our documentation](https://hyperloop-rails.github.io/powerstation/docs/features/).
See our [main website](https://hyperloop-rails.github.io) for more details. Feel free to submit issues and pull requests!