RubyConf 2021 - Optimizing Partial Backtraces in Ruby 3 by Jeremy Evans

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=GSlQEtEjmHM



Duration: 29:45
22 views
1


Backtraces are very useful tools when debugging problems in Ruby programs. Unfortunately, backtrace generation is expensive for deep callstacks. In older versions of Ruby, this is true even if you only want a partial backtrace, such as a single backtrace frame. Thankfully, Ruby 3 has been optimized so that it no longer processes unnecessary backtrace frames, which can greatly speed up the generation of partial backtraces. Join me for an interesting look a Ruby backtraces, how they are generated, how we optimized partial backtraces in Ruby 3, and how we fixed bugs in the optimization in 3.0.1.

**Filmed by Colorado Union Videographers




Other Videos By Confreaks


2022-08-09RubyConf 2021 - Meet Shopify's Ruby and Rails Infrastructure Team
2022-08-09RubyConf 2021 - Virtual Job Fair: Kolide, Fullscript, CZI
2022-08-09RubyConf 2021 - Virtual Job Fair: Engine Yard, Wrapbook, Shopify
2022-08-09RubyConf 2021 - Just-in-Time Compiling Ruby Regexps on TruffleRuby by Benoit Daloze and Josef Haider
2022-08-09RubyConf 2021 - Rswag: Automated API Documentation by Sarah Reid
2022-08-09RubyConf 2021 - Cultivating Developer-Centric DSLs by Jake Anderson
2022-08-09RubyConf 2021 - Scaling Happy Engineering Teams by Zaid Zawaideh
2022-08-09RubyConf 2021 - Sorbet at Grailed: Typing a Large Rails Codebase to Ship with... by Jose Rosello
2022-08-09RubyConf 2021 - A message from Engineyard by Rahul Subramaniam EY
2022-08-09RubyConf 2021 - MX Hacker's Revenge
2022-08-09RubyConf 2021 - Optimizing Partial Backtraces in Ruby 3 by Jeremy Evans
2022-08-09RubyConf 2021 - Improving CVAR performance in Ruby 3.1 by Eileen M Uchitelle
2022-08-09RubyConf 2021 - Compiling Ruby to Native Code with Sorbet & LLVM by Jake Zimmerman & Trevor Elliott
2022-08-09RubyConf 2021 - YJIT - Building a new JIT Compiler inside CRuby by Maxime Chevalier Boisvert
2022-08-09RubyConf 2021 - Achieving Fast Method Metaprogramming: Lessons from.. by Jemma Issroff, Jacob Evelyn
2022-08-09RubyConf 2021 - Mixed Reality Robotics Simulation with Ruby by Kota Weaver
2022-08-09RubyConf 2021 - Drones Galore: controlling multiple drones using mruby/ruby by Shashank Daté
2022-08-09RubyConf 2021 - Joyful Polyglot: Beautiful insights from many languages by Nick Barone
2022-08-09RubyConf 2021 - Acidic Jobs: A Layman's Guide to Job Bliss by Stephen Margheim
2022-08-09RubyConf 2021 - Gradual Typing in Ruby - A Three Year... by Ufuk Kayserilioglu, Alexandre Terrasa
2022-08-09RubyConf 2021 - Squashing Security Bugs with Rubocop by Omar