0.0
No commit activity in last 3 years
No release in over 3 years
Command line interface to profiling tools for iOS development
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 0.7.0
~> 10.0
~> 3.0
~> 0.15

Runtime

~> 1.0.2
~> 0.8.1
~> 1.6.2
 Project Readme

Instrumentality

CircleCI Coverage Status

instr is a command line interface for profiling tools already installed in macOS. Under the hood uses dtrace to get information from running processes.

Important

dtrace is pre-installed in macOS but in order to use it you have to disable System Integrity Protection. You can learn more about SIP from Apple Support page and make a conscious decision about disabling it in your system or your continuous integration environment.

Installation

instr is distributed as a Ruby gem and can be installed using the following command:

$ gem install instrumentality

Try it yourself

To get a feeling about what instr can do, after disabling SIP and installing the gem try this:

$ instr profile file-activity Preferences --interactive

Now open System Preferences.app. See the output? These are the files the application proccess tried to access.

Learn more

instr can be used to run any dtrace script you provide, but it also includes a few bundled. Learn how to integrate it in your projects using CocoaPods and how to use the included benchmark tool to measure performance as part of your delivery pipelines.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Ruenzuo/instrumentality.

License

The gem is available as open source under the terms of the MIT License.