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
Odd call stack nesting in Ruby 2.7.0 and 2.7.1 #279
Comments
Can you attach the results you are seeing? What's different? |
Ah. Yeah that doesn't look good. Not sure what would have changed with Ruby 2.7.1 but will take a look. |
Ok, this is a ruby bug. See https://bugs.ruby-lang.org/issues/17152. |
Looks like the fix from 3.0 got backported to the 2.7.x trunk. Leave this open for reference until 2.7.2 ships, or ??? |
I'll update the docs to note this, and then close this ticket. Had a similar problem in an older version of Ruby. Thanks for finding this! |
Verified that Ruby 2.7.2 resolves the issue. |
Thanks! Updated documentation in ruby-prof/ruby-prof.github.io@de57d29 |
In the code below, I didn't expect a big change between Ruby 2.6.6 and 2.7.1. In practice, calling
100.times { SecureRandom.gen_random(10) }
doesn't change, but calling100.times { SecureRandom.uuid }
changes dramatically.The text was updated successfully, but these errors were encountered: