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 AppleMac OS X v10.5 and later versions of Mac OS X, built on top of the DTracetracingframework from OpenSolaris and ported to Mac OS X.