Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

android-performance-profiler

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

android-performance-profiler

This is still a POC in the experimental stage. The goal is to be able to measure the performance of any app in production on Android. 🤩

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

🔥 Very secret profiler 🔥

This is still a POC in the experimental stage.
The goal is to be able to measure the performance of any app in production on Android. 🤩

Features coming

  • Publish a CLI package 🚀
  • Integrate measures with the Flipper plugin 🔥
  • Show RAM usage
  • Show full CPU usage
  • Show CPU usage per process and CPU core

For instance, this is me profiling the Coinbase app in production:

coinbase-profiling

FAQ

Will this replace the Flipper plugin in the same repo?

I think they can complement each other.

  1. I plan to integrate the measures from this profiler in the Flipper plugin
  2. The Flipper plugin should be more accurate with FPS data
  3. Also this profiler will probably never support iOS

Usage

# This will print out JS Thread CPU Usage every 500ms
npx react-native-profiler com.coinbase.android

If you need to find an app's bundle id:

adb shell dumpsys window windows | grep -E 'mCurrentFocus|mFocusedApp|mInputMethodTarget|mSurface'

If you want a nice graph in your terminal, you can use ttyplot and run:

npx react-native-profiler com.coinbase.android | ttyplot -s 100 -t "JS Thread CPU usage %" -u "%"

FAQs

Package last updated on 14 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc