Abstract
dc:descriptionThis 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 × 1Rights
dc:rights- Statement dc:rights
-
- info:eu-repo/semantics/openAccess
- Language dc:language
- eng
Identifiers
dc:identifier.*- Repository record dc:identifier
- https://repository.vu.lt/VU:ELABAETD107118714&prefLang=en_US