Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script/rubyprof to generate cachegrind callgraphs #3692

Merged
merged 1 commit into from
May 10, 2015
Merged

Add script/rubyprof to generate cachegrind callgraphs #3692

merged 1 commit into from
May 10, 2015

Conversation

fw42
Copy link
Contributor

@fw42 fw42 commented May 10, 2015

Inspired by script/stackprof, this adds a script to generate ruby-prof profiles in KCachegrind calltree format (can be opened using qcachegrind under Mac OS X).

Output looks something like this:

screen shot 2015-05-09 at 10 32 43 pm

Thoughts @parkr?

@parkr
Copy link
Member

parkr commented May 10, 2015

This is super cool.

#!/usr/bin/ruby

require 'ruby-prof'
require 'jekyll'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we lock to bundle exec here?

@fw42
Copy link
Contributor Author

fw42 commented May 10, 2015

Updated. It's closer to stackprof now. btw I think stackprof can generate those files too. Not sure how exactly the output differs.

parkr added a commit that referenced this pull request May 10, 2015
@parkr parkr merged commit 9c5c9d8 into jekyll:master May 10, 2015
parkr added a commit that referenced this pull request May 10, 2015
@jekyll jekyll locked and limited conversation to collaborators Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants