Skip to main content

Who You Gonna Call? A Case Study about the Call-Site Behaviour in Ruby-on-Rails Applications

Kaleba, Sophie, Larose, Octave, Marr, Stefan, Jones, Richard (2022) Who You Gonna Call? A Case Study about the Call-Site Behaviour in Ruby-on-Rails Applications. In: MoreVMs'22: Workshop on Modern Language Runtimes, Ecosystems, and VMs, 21-25 Mar 2022 and 11-14 Apr 2022, Porto, Portugal and online. (Unpublished) (KAR id:93937)

PDF (Abstract) Author's Accepted Manuscript
Language: English
Download (476kB) Preview
[thumbnail of Abstract]
This file may not be suitable for users of assistive technology.
Request an accessible format
Official URL


Web-applications are ubiquitous, from simple personal blogs to e-commerce platforms with millions of sales. Ruby-on-Rails is a popular framework implemented in Ruby that provides tools to build such web-applications. Performance is often critical in the context of large-scale web-applications; especially in dynamic languages such as Ruby that feature reflection and the use of many small methods. Such languages therefore benefit from run-time optimisations, notably through the combined use of lookup caches, splitting and inlining.

To limit their overhead, such optimisations generally rely on assumptions that do not necessarily match with the actual run- time behaviour. With Phase-based splitting, we showed that splitting can benefit from using homogeneous patterns of behaviour, called “phases” to reach better performance. In an effort to identify such phases in real-world web-applications, we thoroughly analyse the run-time call-site behaviour of Ruby programs and Ruby-on-Rails applications, running on top of TruffleRuby. This talk describes our findings and aims at guiding future research on call-site optimisation.

Item Type: Conference or workshop item (Paper)
Uncontrolled keywords: Ruby-on-Rails; Ruby; web development
Subjects: Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming,
Divisions: Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing
Depositing User: Stefan Marr
Date Deposited: 06 Apr 2022 22:02 UTC
Last Modified: 20 Apr 2022 13:20 UTC
Resource URI: (The current URI for this page, for reference purposes)
Marr, Stefan:
Jones, Richard:
  • Depositors only (login required):


Downloads per month over past year