这是indexloc提供的服务,不要输入任何密码
Skip to content

Performance of termux broadcast #792

@hanyman7

Description

@hanyman7

Problem description

On Samsung A54 most of my termux-* calls run 10x or more slower than my other Androids

Steps to reproduce

time termux-battery-status
takes about 775 ms. Other Androids complete the call within 50ms

Expected behavior

Other Androids run at least 10x faster

Also please see attached logcat.out

Additional information

  • termux-api application version:
  • termux-api package version (installed through apt):
  • Android OS version:
  • Device model:
    Termux Variables:
    TERMUX_API_VERSION=0.52.0
    TERMUX_APK_RELEASE=F_DROID
    TERMUX_APP_PACKAGE_MANAGER=apt
    TERMUX_APP_PID=6560
    TERMUX_APP__DATA_DIR=/data/user/0/com.termux
    TERMUX_APP__LEGACY_DATA_DIR=/data/data/com.termux
    TERMUX_APP__SE_FILE_CONTEXT=u:object_r:app_data_file:s0:c77,c257,c512,c768
    TERMUX_APP__SE_INFO=default:targetSdkVersion=28:complete
    TERMUX_IS_DEBUGGABLE_BUILD=0
    TERMUX_MAIN_PACKAGE_FORMAT=debian
    TERMUX_VERSION=0.118.3
    TERMUX__HOME=/data/data/com.termux/files/home
    TERMUX__PREFIX=/data/data/com.termux/files/usr
    TERMUX__ROOTFS_DIR=/data/data/com.termux/files
    TERMUX__SE_PROCESS_CONTEXT=u:r:untrusted_app_27:s0:c77,c257,c512,c768
    TERMUX__USER_ID=0
    Packages CPU architecture:
    aarch64
    Subscribed repositories:

sources.list

deb https://packages-cf.termux.dev/apt/termux-main/ stable main

x11-repo (sources.list.d/x11.list)

deb https://packages-cf.termux.dev/apt/termux-x11/ x11 main
Updatable packages:
Listing...
ca-certificates/stable 1:2025.07.15 all [upgradable from: 1:2025.05.20]
termux-tools version:
1.45.0
Android version:
15
Kernel build information:
Linux localhost 5.15.153-android13-3-31153516 #1 SMP PREEMPT Wed Jun 4 15:54:00 KST 2025 aarch64 Android
Device manufacturer:
samsung
Device model:
SM-A546U
Supported ABIs:
SUPPORTED_ABIS: arm64-v8a,armeabi-v7a,armeabi
SUPPORTED_32_BIT_ABIS: armeabi-v7a,armeabi
SUPPORTED_64_BIT_ABIS: arm64-v8a
LD Variables:
LD_LIBRARY_PATH=
LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec-ld-preload.so
Installed termux plugins:
com.termux.api versionCode:1001

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

    Issue actions