No release in over 3 years
Low commit activity in last 3 years
A ruby-prof printer compatible with speedscope.app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 1.0
 Project Readme

ruby-prof-speedscope

Gem Version

A ruby-prof printer compatible with the speedscope.app trace viewer.

Installation

Add to your Gemfile

gem 'ruby-prof-speedscope'

then install.

$ bundle install

Usage

# Collect the profile.
RubyProf.start
  ...
results = RubyProf.stop

# Save the printer output.
File.open("trace.rubyprof") do |f|
  RubyProf::SpeedscopePrinter.new(results).print(f)
end

# Go to https://speedscope.app
# Open the trace there.

Dependencies

Contributing

Contributions and ideas are welcome! Please don't hesitate to open an issue or send a pull request to improve the functionality of this gem.

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.

Reporting Security Issues

If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com. For additional details please see our security guide.

License

This project is licensed under MIT.