0.0
No commit activity in last 3 years
No release in over 3 years
Run a ruby script with stackprof.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.0

Runtime

>= 0.2.10
 Project Readme

stackprof-run

Run a ruby script with stackprof.

Installation

$ gem install stackprof-run

Basic Usage

stackprof-run executes received command with stackprof.

# Run RuboCop with stackprof
$ stackprof-run rubocop some_ruby_file.rb

# Run a rake task
$ stackprof-run bin/rake some_task

Options

$ stackprof-run --help
Usage: stackprof-run [options] command [command options]
    -m, --mode=MODE                  :cpu(default), :wall, :object
    -o, --out=FILE                   Output file name. (default: stackprof-out)
    -i, --interval=INTERVAL
    -no-aggregate
    -r, --raw

Known issue

This gem dependents which command, so, it does not work in Windows.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/pocke/stackprof-run.

License

These codes are licensed under CC0.

CC0