Back to search

Institutional Repository of Vilnius University

Translation unit granularization /

Abstract

dc:description

This thesis presents an approach on how to speed up recompilation in a day to day program- ming scenario, benchmarks the performance improvements with various inputs and compares the gathered performance metrics to an already existing compiler. Classic compilers treat a source file as an atomic translation unit in their compilation pipe- line, the proposed approach tries to leverage the structure of modern programming languages to granularize the translation unit in order to improve recompilation times. The chosen target language is a subset of the Scala programming language. Instead of mo- difying the standard Scala compiler to accommodate the proposed approach, a compiler is written from scratch in order to have a simple program enabling straightforward modifications for an easier accommodation of the proposed approach. Performance measurements of the prototype compiler are taken with the approach enabled and disabled, various dynamic inputs are generated with different translation unit sizes to gain insights in the effectiveness of the approach. The results show an improvement of 5% to 30% depending on the complexity of the input source.

Degree

thesis:*
Grantor dc:publisher
Institutional Repository of Vilnius University
Year dc:date
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bentkus, Andrius,
Contributors dc:contributor
  • Valaitis, Vytautas

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • info:eu-repo/semantics/openAccess
Language dc:language
eng

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Vilnius University
Base URL
epublications.vu.lt/oai
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Bentkus, Andrius,. Translation unit granularization /. Institutional Repository of Vilnius University, 2021. https://repository.vu.lt/VU:ELABAETD107118714&prefLang=en_US