Instruments (application)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

Lua error in package.lua at line 80: module 'strict' not found.

Instruments
Apple Instruments Icon.png
Developer(s) Apple Inc
Stable release 7.1.1 / ?
Operating system Mac OS X
Type Tracing
License Proprietary
Website 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 a developer tool included in Apple Mac OS X v10.5 and later versions of Mac OS X, built on top of the DTrace tracing framework from OpenSolaris and ported to Mac OS X.

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.

Built-in instruments can track

  • User events, such as keyboard keys pressed and mouse moves and clicks with exact time.
  • CPU activity of processes and threads.
  • Memory allocation and release, garbage collection and memory leaks.
  • File reads, writes, locks.
  • Network activity and traffic.
  • Graphics and inner workings of OpenGL.
  • Energy diagnostics and "dead" objects.
  • UI automation and Core animation.

See also


<templatestyles src="Asbox/styles.css"></templatestyles>