Instruments (software)

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by AdithyaKL (talk | contribs) at 08:20, 21 June 2020 (Features: move non-cited items at the bottom; add a line about activity monitor.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Instruments
Developer(s)Apple Inc
Stable release
11.6 (Same as the Xcode version it is bundled with.) / May 20, 2020
Operating systemmacOS
TypeTracing & Profiling
LicenseFreeware. Proprietary
Websitehelp.apple.com/instruments

Instruments (formerly Xray) is an application performance analyzer and visualizer, integrated in Xcode 3.0 and later versions of Xcode. It is built on top of the DTrace tracing framework from OpenSolaris, which was ported to Mac OS X v10.5 and which is available in all following versions of macOS.

Instruments shows a time line displaying any event occurring in the application, such as CPU activity variation, memory allocation, and network and file activity, together with graphs and statistics. Group of events are monitored via customizable "instruments", which have the ability to record user generated events and replay (emulate) them exactly as many times as needed, so a developer can see the effect of code changes without actually doing the repetitive work. The Instrument Builder feature allows the creation of custom analysis instruments. [1]

Features

Built-in instruments can track

References

  1. ^ "Add an instrument to a trace document - Instruments Help".
  2. ^ "Track CPU core and thread use- Instruments Help".
  3. ^ "Find abandoned memory - Instruments Help".
  4. ^ "Find memory leaks - Instruments Help".
  5. ^ "Monitor disk use - Instruments Help".
  6. ^ "Use Activity Monitor to track overall network and disk use - Instruments Help".
  7. ^ "Optimizing Performance with the GPU Counters Instrument - Apple Developer Documentation".
  8. ^ "Using Metal System Trace in Instruments to Profile Your App - Apple Developer Documentation".
  9. ^ "Measure the energy impact of an iOS device - Instruments Help".

See also