A cross-border community for researchers with openness, equality and inclusion
Benchmarking Pygame vs. Tkinter: Performance and Code Complexity in Python GUI Development
ID:66 View protection:Participant Only Updated time:2025-12-21 12:28:19 Views:144 Online

Start Time:2025-12-29 17:15

Duration:15min

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

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
Arabaev Kyrgyz State University

Post comments
Verification Code Change Another
All comments
Important Dates
  • Conference date

    12-29

    2025

    -

    12-31

    2025

  • 12-30 2025

    Presentation submission deadline

  • 02-10 2026

    Draft paper submission deadline

  • 02-10 2026

    Registration deadline

Sponsored By

United Societies of Science

Organized By

扎尔卡大学

Contact info
×

USS WeChat Official Account

USSsociety

Please scan the QR code to follow
the wechat official account.