All Projects → wix → Detoxinstruments

wix / Detoxinstruments

Licence: mit
Detox Instruments is a performance–analysis and testing framework, designed to help developers profile their mobile apps in order to better understand and optimize their app's behavior and performance.

Projects that are alternatives of or similar to Detoxinstruments

Sympact
🔥 Stupid Simple CPU/MEM "Profiler" for your JS code.
Stars: ✭ 439 (-14.42%)
Mutual labels:  profile, cpu, memory
numap
No description or website provided.
Stars: ✭ 18 (-96.49%)
Mutual labels:  profile, memory
psutil
Cross-platform lib for process and system monitoring in Python
Stars: ✭ 8,488 (+1554.58%)
Mutual labels:  cpu, memory
React Adaptive Hooks
Deliver experiences best suited to a user's device and network constraints
Stars: ✭ 4,750 (+825.93%)
Mutual labels:  cpu, memory
numamma
NumaMMA is a lightweight memory profiler for parallel applications
Stars: ✭ 20 (-96.1%)
Mutual labels:  profile, memory
stress
Single-purpose tools to stress resources
Stars: ✭ 24 (-95.32%)
Mutual labels:  cpu, memory
CPU-MEM-monitor
A simple script to log Linux CPU and memory usage (using top or pidstat command) over time and output an Excel- or OpenOfficeCalc-friendly report
Stars: ✭ 41 (-92.01%)
Mutual labels:  cpu, memory
doc
Get usage and health data about your Node.js process.
Stars: ✭ 17 (-96.69%)
Mutual labels:  cpu, memory
Ybtaskscheduler
iOS 任务调度器,为 CPU 和内存减负(用于性能优化)
Stars: ✭ 270 (-47.37%)
Mutual labels:  cpu, memory
Mobileperf
Android performance test
Stars: ✭ 286 (-44.25%)
Mutual labels:  cpu, memory
Arch
极客时间专栏《许式伟的架构课》相关的源代码:冯诺伊曼结构
Stars: ✭ 335 (-34.7%)
Mutual labels:  cpu, memory
cpu-memory-monitor
CPU & Memory Monitor, auto dump.
Stars: ✭ 26 (-94.93%)
Mutual labels:  cpu, memory
kotary
Managing Kubernetes Quota with confidence
Stars: ✭ 85 (-83.43%)
Mutual labels:  cpu, memory
audria
audria - A Utility for Detailed Ressource Inspection of Applications
Stars: ✭ 35 (-93.18%)
Mutual labels:  cpu, memory
cpu monitor
ROS node that publishes all nodes' CPU and memory usage
Stars: ✭ 52 (-89.86%)
Mutual labels:  cpu, memory
perfmonger
No description or website provided.
Stars: ✭ 39 (-92.4%)
Mutual labels:  cpu, performance-analysis
hardware
Get CPU, Memory and Network informations of the running OS and its processes
Stars: ✭ 70 (-86.35%)
Mutual labels:  cpu, memory
nodejs
Node.js in-process collectors for Instana
Stars: ✭ 66 (-87.13%)
Mutual labels:  cpu, memory
vue-adaptive-utils
Deliver empathetic experiences to your users by adapting to their capabilities
Stars: ✭ 59 (-88.5%)
Mutual labels:  cpu, memory
Pidusage
Cross-platform process cpu % and memory usage of a PID
Stars: ✭ 364 (-29.04%)
Mutual labels:  cpu, memory

Detox Instruments

About

Detox Instruments is a performance–analysis and testing framework, designed to help developers profile their mobile apps in order to better understand and optimize their app's behavior and performance. In addition, Detox Instruments includes utilities for managing your app's resources, such user defaults, pasteboard, cookies, etc.

Detox Instruments

Incorporating Detox Instruments into the development workflow from the beginning of the app development process can save time later by helping find issues early in the development cycle. Detox Instruments has first–class support for React Native, allowing seamless analysis of the entire app lifecycle in one place.

Detox Instruments supports profiling the following metrics:

  • Performance profiling
    • CPU load
      • Per-thread breakdown of CPU load
      • Heaviest stack trace sampling
      • Automatic runtime symbolication of stack traces
    • Memory usage
    • User interface FPS (frames per second)
    • Disk activity (reads and writes, open file names)
  • Network activity
    • Full request & response header and data collection and inspection
  • Developer events
  • React Native profiling (0.62.x and above)
    • JavaScript thread CPU load
    • Bridge call counters
    • Bridge data counters
    • Bridge data collection
    • Async storage metrics & data
  • Log output recording

For a list of available instruments and their description, see Available Instruments.

Detox Instruments includes the following app management utilities:

  • Container files
    • Download and upload files and folders to your app's container
  • Pasteboard
    • Copy and paste items between your Mac and your device
  • User defaults
    • Modify user defaults in real time
  • Cookies
    • Create and modify the app's HTTP cookies
  • Async storage (React Native only)
    • Modify the async storage store in real time

For a detailed overview, see App Management.

Installation

The Detox Instruments application requires macOS 10.14 (Mojave) and higher. The Profiler framework supports iOS 10 and higher.

Detox Instruments is installed using Homebrew Cask, by running the following commands:

brew tap wix/brew
brew cask install detox-instruments

This will install Detox Instruments under /Applications.

Integration with Your App's Project

In order to begin profiling your app, you need to integrate the Profiler framework in your app's project. See Profiler Framework Integration Guide for more information.

Developer API Reference

By integrating Detox Instruments in your app, many of the included instruments can automatically collect data. Some instruments require you to explicitly call the provided APIs so that specific data can be collected.

For an in-depth look at the available APIs, see Developer API Reference.

Profiling an App

Once you've installed Detox Instruments and integrated the Profiler framework with your app's project, you can start profiling your app.

The App Selection Dialog

After launching Detox Instruments or selecting FileNew Recording..., you will be presented with an app selection dialog, displaying a list of available apps to profile. Launch your app on your mobile device or simulator and your app will appear in the list. You can choose to start a live profiling, or app launch profiling. For more information, see App Launch Profiling.

See App Discovery for more information and troubleshooting.

App Discovered

To start profiling, select your app and click on the Profile button.

To manage profiling options, such as sampling frequency and recording features, see Profiling in the preferences. For an in-depth look at profiling preferences, see Profiling Preferences.

Live Console

Live Console

Detox Instruments includes a utility for collecting and viewing log messages generated by your device. For more information, see Live Console.

App Management

App Management

Detox Instruments includes a set of app management utilities for managing your app's settings and resources.

To manage your app, click on the Manage button (Gear Button) in the app selection dialog. You can manage multiple apps at the same time. For an in-depth look at app management, see App Management.

The Recording Document

A recording document is used to initiate new profiling and view and analyze the results of profiling. You create a new recording document by selecting FileNew Recording... and choosing an app to profile.

Detox Instruments

You can also save and reopen recording documents in which you’ve collected data previously. A recording document can contain a lot of extremely detailed information, and this information is presented to you through a number of panes and areas.

For detailed information on the recording document, see The Recording Document.

For detailed information on the application preferences, see Preferences

Instruments

Detox Instruments includes many instruments to analyze many aspects of your app.

Instruments

For a list of available instruments and their description, see Available Instruments.

Requests Playground

Requests Playground

Detox Instruments includes a utility for replaying and modifying network requests, called Requests Playground. These requests can be saved as a document for future reference and testing. For more information, see Requests Playground.

Acknowledgements

See Acknowledgements

Troubleshooting

See Troubleshooting

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].