[Online]Benchmarking Pygame vs. Tkinter: Performance and Code Complexity in Python GUI Development

Benchmarking Pygame vs. Tkinter: Performance and Code Complexity in Python GUI Development
ID:66 Submission ID:476 View Protection:ATTENDEE Updated Time:2025-12-21 12:28:19 Hits:391 Online

Start Time:2025-12-29 17:15 (Asia/Amman)

Duration:15min

Session:[S1] Track 1: Mobile computing, communications, 5G and beyond » [S1-1] Track 1: Mobile computing, communications, 5G and beyond

Video No Permission Presentation File

Tips: The file permissions under this presentation are only for participants. You have not logged in yet and cannot view it temporarily.

Abstract
The research evaluates two Python GUI (Graphical User Interface) development methods through Tkinter and Pygame libraries. The event loop and drawing facilities of Pygame enable developers to use this library for creating general-purpose GUI applications despite its main purpose being 2D game development. The research evaluates which approach provides better performance and faster response times and easier development processes.
There are implemented identical functional applications through Tkinter and Pygame to compare their performance. The execution time results demonstrate Pygame outperforms Tkinter by 3.5 to 3.7 times in both startup and processing speed while certain tasks show performance improvements of 6 to 7 times. The Pygame codebase needed less lines of code and provided a more straightforward abstraction for handling events and rendering graphics.
It shows Pygame provides equivalent performance to Tkinter for applications that need fast GUI rendering and real-time graphics and animation. The research shows that Tkinter works best for basic form-based interfaces and standard desktop widgets, but Pygame excels at performance-critical GUI applications. The research provides guidance about toolkit selection based on application requirements and suggests future investigation directions.
Keywords
Python, graphical user interface (GUI), Pygame, Tkinter, event-driven programming.
Speaker
Saltanat Biibosunova
Associated Professor Arabaev Kyrgyz State University

Submission Author
Saltanat Biibosunova Arabaev Kyrgyz State University
Daniiar Biibosunov Arabaev Kyrgyz State University
Ma Yi Ming Arabaev Kyrgyz State University
Liu Fang Arabaev Kyrgyz State University
Fan Xingzhou Arabaev Kyrgyz State University
Huang Da Arabaev Kyrgyz State University
Comment submit
Verification code Change another
All comments

CONTACT US

Email: asiancomnet@usssociety.org

Website & IT Support: hi@aconf.org 

Registration Submit Paper