kivy / kivy/python-for-android

p4a's python seems to be slower than termux'

Open
#2,300 2 comments 1 reaction 0 assignees View on GitHub
need-analysis
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

I noticed that the response time (`time curl localhost:5000/something | wc -l`) for my webview flask app is slower (in my case ~2.7s avg vs ~1.3s agv) than when I run the exact same code with termux' python (on the exact same android device).

Contributor guide

Open the contributing guide

Research direction

Reproduce the comparison using `time curl localhost:5000/something | wc -l` with the Flask webview app under python-for-android and with Termux's Python on the same Android device. No files or tests are named; done would require identifying the source of the reported response-time difference and documenting or correcting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flask, python
Domain
mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.