hyperloop-rails / powerstation

A Tool for Detecting Performance Bugs in Rails Applications
https://hyperloop-rails.github.io/
BSD 2-Clause "Simplified" License
57 stars 5 forks source link
performance-analysis performance-tuning rails rails-application webapp

PowerStation

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:

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.

See our main website for more details. Feel free to submit issues and pull requests!