Optimising a Soundness-First Numerical Analysis Framework: A Performance Study of Daisy
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Daisy is a framework for verifying numerical programs that prioritises soundness over runtime performance. This thesis investigates how much performance remains untapped due to this design choice during development. Through systematic profiling of Daisy's benchmarks, key bottlenecks were identified, including greatest common divisor calculations, hash code evaluations, and data structure operations. Targeted optimisations were implemented, including Stein's algorithm for greatest common divisor computation, lazy hash code caching, and improved hash map operations.
The results show substantial performance improvements without compromising soundness, with up to 89% faster runtime on some benchmarks while maintaining identical numerical outputs and behaviour. These findings demonstrate that a lot of performance remains untapped, but also that soundness-first development and performance are not mutually exclusive. Verification tools like Daisy can be designed with soundness as the primary concern and later optimised for practical performance, making them viable for real-world applications requiring both reliability and efficiency.
Place, publisher, year, edition, pages
2025. , p. 44
Series
IT ; kDV 25 009
Keywords [en]
Performance Optimisation, Numerical Analysis, Algorithm Evaluation, Static Analysis, Benchmarking, Software Profiling, Daisy Framework
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:uu:diva-562594OAI: oai:DiVA.org:uu-562594DiVA, id: diva2:1979035
Subject / course
Computer Systems Sciences
Educational program
Bachelor Programme in Computer Science
Presentation
2025-06-05, 101258, Lägerhyddsvägen 1, 752 37, Uppsala, 13:15 (English)
Supervisors
Examiners
2025-06-302025-06-292025-06-30Bibliographically approved