Original title:
Optimalizace rychlosti výpočtu knihovny PetNetSim
Translated title:
PetNetSim Library Computation Performace Optimization
Authors:
Dražka, Vojtěch ; Holoubek, Tomáš (referee) ; Dobrovský, Ladislav (advisor) Document type: Master’s theses
Year:
2022
Language:
cze Publisher:
Vysoké učení technické v Brně. Fakulta strojního inženýrství Abstract:
[cze][eng]
Cílem diplomové práce byla optimalizace rychlosti výpočtu knihovny PetNetSim, která je momentálně implementovaná v jazyce Python. Smyslem práce bylo přistoupit k optimalizaci ze širšího hlediska a pokusit se Python urychlit pomocí různých technik. Práce se zabývá průzkumem dostupných řešení ve formě alternativních interpretů, rozšiřujících modulů, metody transkompilace a možnostmi vývoje výpočetního jádra coby modulu napsaném v systémovém jazyce. Praktická část popisuje snahu o implementaci těchto metod a jejich porovnání. Dále je implementována metoda multiprocessingu a nastíněn postup při vývoji výpočetního jádra coby rozšiřujícího modulu.
The aim of the thesis was to optimize the computation speed of the PetNetSim library, which is currently implemented in Python. The purpose of the thesis was to approach the optimization from a broader perspective and try to speed up Python using various techniques. The thesis explores the solutions available in the form of alternative interpreters, extending modules, trans-compilation methods and the possibility of developing the computational core as a module written in the system language. The practical part describes efforts to implement these methods and their comparison. Furthermore, the multiprocessing method is implemented and the procedure for developing the computational core as an extending module is outlined.
Keywords:
alternative interpreter; C++; Cinder; Cython; extension module; multiprocessing; Optimization; Pyjion; PyPy; Pyston; Python; tanscompilation; transpiler; alternativní interpret; C++; Cinder; Cython; multiprocessing; Optimalizace; Pyjion; PyPy; Pyston; Python; rozšiřující modul; tanskompilace; transpiler
Institution: Brno University of Technology
(web)
Document availability information: Fulltext is available in the Brno University of Technology Digital Library. Original record: http://hdl.handle.net/11012/205243