Skip to content

thoughtbot/analyzer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyzer

A Performance analyzer for Ruby

Synopsis

$ analyze test.rb ...

Description

Analyzer runs the provided ruby file(s) to test Iterations per second, allocations and memory usage.

The scripts can be a normal ruby script or can be split into two parts by the line __SETUP__, everything before will be run once and everything after will be what is tested.

Options

-b, --bootstrap: A ruby script to run once before all the test.

-l, --lib: A script to be included before the bootstrap script and all test scripts.

-o, --output: The destination for the results. The result is a png file.

Example Report

This report was generated by the command: analyzer turbostreamer.rb jbuilder.rb -l setup.rb

Viking.js

About

A Performance analyzer for Ruby

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages

  • HTML 53.2%
  • Ruby 46.8%