Giter Club home page Giter Club logo

ruby-prof-speedscope's Introduction

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 [email protected].

Reporting Security Issues

If you believe you have found a security issue, please responsibly disclose by contacting us at [email protected]. For additional details please see our security guide.

License

This project is licensed under MIT.

ruby-prof-speedscope's People

Contributors

palasha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

hdoan741

ruby-prof-speedscope's Issues

Contribute upstream to ruby-prof?

I recently started using this after seeing it on the speedscope wiki, and have found it super helpful, but kinda wish it worked out of the box for ruby-prof.

What would you think of moving it upstream to be built into ruby-prof? I can help figure out how to attribute to you if that would make it easier.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.