JITScope: Interactive Visualization of JIT Compiler IR Transformations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dalbo, Kyra, Ahmed, Yumna, Lim, HeuiChan
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913862157074432
author Dalbo, Kyra
Ahmed, Yumna
Lim, HeuiChan
author_facet Dalbo, Kyra
Ahmed, Yumna
Lim, HeuiChan
contents The complexity of modern Just-In-Time (JIT) compiler optimization poses significant challenges for developers seeking to understand and debug intermediate representation (IR) behavior. This work introduces JITScope, an interactive visualization framework that illustrates how IR nodes and instructions evolve across compilation phases. The system features a full-stack architecture: a Python-based backend transforms raw JSON-formatted IR data-representing an abstract model of the JIT compiler IR-into a normalized SQLite database; a controller layer serves processed CSV data; and a D3.js-powered frontend renders an interactive, phase-aware graph of IR node transformations. The design emphasizes modularity, traceability, and flexibility. Our roadmap explores intuitive visual representations of phase-level changes in IR node connectivity, values, and access patterns. Ultimately, JITScope lays a foundation for future tooling that enables visual exploration of IR evolution, including phase filtering, value tracking, and function-access mapping-offering a new lens into the behaviors and impacts of compiler optimizations.
format Preprint
id arxiv_https___arxiv_org_abs_2505_21599
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle JITScope: Interactive Visualization of JIT Compiler IR Transformations
Dalbo, Kyra
Ahmed, Yumna
Lim, HeuiChan
Software Engineering
D.3.4; D.2.2; I.3.8
The complexity of modern Just-In-Time (JIT) compiler optimization poses significant challenges for developers seeking to understand and debug intermediate representation (IR) behavior. This work introduces JITScope, an interactive visualization framework that illustrates how IR nodes and instructions evolve across compilation phases. The system features a full-stack architecture: a Python-based backend transforms raw JSON-formatted IR data-representing an abstract model of the JIT compiler IR-into a normalized SQLite database; a controller layer serves processed CSV data; and a D3.js-powered frontend renders an interactive, phase-aware graph of IR node transformations. The design emphasizes modularity, traceability, and flexibility. Our roadmap explores intuitive visual representations of phase-level changes in IR node connectivity, values, and access patterns. Ultimately, JITScope lays a foundation for future tooling that enables visual exploration of IR evolution, including phase filtering, value tracking, and function-access mapping-offering a new lens into the behaviors and impacts of compiler optimizations.
title JITScope: Interactive Visualization of JIT Compiler IR Transformations
topic Software Engineering
D.3.4; D.2.2; I.3.8
url https://arxiv.org/abs/2505.21599