Skip to content

Would a section on performance be of interest? #1110

@Anders-E

Description

@Anders-E

I feel like a section on common performance pitfalls in Python could be highly useful, not only to new Python programmers but also as a reference for intermediate programmers and up.

Potentially such a section could also include tips on how to profile and/or benchmark Python code.

Would this fit within the scope of this guide?

Activity

sanjomathew09

sanjomathew09 commented on Oct 23, 2024

@sanjomathew09

Video Playback Performance: Loading and playing videos efficiently, especially if they are being streamed from a remote location like Firebase, requires attention to buffer management, resolution, and network latency.

  1. File Upload Performance: Uploading large media files to Firebase can be time-consuming. Discussing strategies such as background uploads, upload progress monitoring, and retries for failed uploads could improve user experience.

  2. Mobile App Optimization: Kivy apps on mobile platforms might suffer from performance issues like high memory consumption, slow UI rendering, or battery drain. A section on optimizing the app for different platforms (Android, iOS) could be crucial, especially with respect to file handling, threading, and hardware utilization.

  3. Firebase Efficiency: Ensuring Firebase interactions (such as file uploads, authentication) are handled asynchronously and optimized to avoid unnecessary network requests is essential for a smooth user experience.

  4. General App Responsiveness: Detailing methods for keeping the UI responsive during long-running operations (e.g., using multithreading, coroutines, or background services) would interest developers aiming for high-performance applications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Anders-E@sanjomathew09

        Issue actions

          Would a section on performance be of interest? · Issue #1110 · realpython/python-guide