Where does JIT-compiled code live? How does Ruby switch between bytecode and native execution? Why does TracePoint slow everything down? This post answers the JIT questions most Ruby developers have but rarely see explained.
How Ruby executes JIT code
#HackerNews #Ruby #JIT #JITCompilation #SoftwareDevelopment #ProgrammingTech #RubyPerformance
Where does JIT-compiled code live? How does Ruby switch between bytecode and native execution? Why does TracePoint slow everything down? This post answers the JIT questions most Ruby developers have but rarely see explained.
Hi Rails developers, if you want to boost your Rails app's performance then this article provides a clear, up-to-date guide on Structs and Classes in Ruby 3.4.2. Discover how to choose the right data structure for optimal speed and write more efficient, maintainable code.
Read it here: https://reinteractive.com/articles/ruby-performance-structs-classes
#Rails #rubyonrails #RubyPerformance #SoftwareDevelopment #CodingTips #reinteractive
What do Ruby folks mean when they say "using Ruby code generation for performance optimization"? Does "code generation" mean meta programming? Do you know a (simple) example where Ruby code generation is used as a strategy for optimization?
π’ Is you @Rails app sloooow and you donβt know why?
Get to the heart of the problem with our Tune Report. Invest in a comprehensive long-term performance plan π https://go.fastruby.io/9a1
Let's talk! π
π’ Is you @rails app sloooow and you donβt know why?
Get to the heart of the problem with our Tune Report. Invest in a comprehensive long-term performance plan π https://go.fastruby.io/9a1
Let's talk! π
I'm working on some updates to my Torid gem - and thinking about performance. I now have the situation where I have 2 implementations of the same function, one that is more performant when JIT is enabled, and one that is more performant, when JIT is not enabled.
Thoughts on how to manage this? Should I ship both with a load/parse time switch that detects if jit is enabled and then uses the right one? Just ship the jit one, just ship the base one?
π’ Is you @Rails app sloooow and you donβt know why?
Get to the heart of the problem with our Tune Report. Invest in a comprehensive long-term performance plan π https://www.fastruby.io/tune?utm_source=twitter&utm_medium=organic&utm_campaign=intent-drive-landing-promo&utm_term=slow-rails
Let's talk! π