-
Notifications
You must be signed in to change notification settings - Fork 30
Show stats about call types and block calls by Ruby #168
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
Conversation
|
Thanks for including this :) Some small suggestions:
|
The first two could be called from C as well. Do you want to make it |
|
How about this? f6955d8 |
|
Interesting data! activerecordhexapdfliquid-renderpsych-loadrailsbenchruby-lspsequelAverage of the above benchmarks |
|
The numbers go against my initial intuition. I thought that we would see a lot of loop iterations using |
|
It's been a year since I collected the stats in the PR description. I uploaded the latest call stats here https://gist.github.com/k0kubun/34d82ceed5ded1b7a881a56edaaf3f6f. Even headline benchmarks alone don't fit in GitHub's size limit for comments and issue descriptions, so it's now on gist. |
|
From a quick look at the number of block calls from C/Ruby seems very low. Are I think actually it's mostly a different reporting than I would expect, e.g. it doesn't show |
Following up #158 and #163, this PR adds the following features to the
harness-stats.Kernel#tapis in Ruby from 3.0, andKernel#loopis also in Ruby from 3.3.Example
I used Ruby master (ruby/ruby@3642006).
activerecord
hexapdf
liquid-render
mail
psych-load
railsbench
ruby-lsp
sequel