> ## Documentation Index
> Fetch the complete documentation index at: https://docs.incredibuild.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Acceleration Analyzer

Last updated on Aug 01, 2024

The Acceleration Analyzer provides you with information about your build performance:

* Identify which tools are involved in the build (C++ compiler, code signing, etc.) and which ones consume the most time

* Identify whether your Xcode project can be accelerated by Incredibuild, and which tools will be accelerated

* Identify the inherent parallelism of your build

Using the Acceleration Analyzer does not require you install anything on your system. It only needs to run your build once, monitoring your build resource utilization as it runs, and then it analyzes the results to present you with the report.

## Running the Acceleration Analyzer

Using the Acceleration Analyzer is simple:

1. Download [the script](https://incredibuild.com/downloads/mac_acceleration_analyzer.zip).

2. Unzip the downloaded file:

   ```
   unzip ~/Downloads/mac_acceleration_analyzer.zip
   ```

3. Run your xcodebuild command with your standard options, adding\
   `. ~/Downloads/MAC/ib_acceleration_analyzer` in the beginning (see example section below). If your project does not use the Xcode build system, e.g. it uses Make or Ninja, and you generate your project files using CMake, add the options

   `-DCMAKE_CXX_COMPILER=/usr/bin/c++ -DCMAKE_C_COMPILER=/usr/bin/cc` to your cmake command.

4. When the build ends, the script will analyze the results (this can take some time) and present the report

The Acceleration Analyzer generates a full report in a file called **ba\_full\_DATE.tgz**, which contains a full log of the build progress (but none of your source code). If you require further assistance with the results of the report presented, share the full report with Incredibuild.

## Example

This example builds a sample code of OpenCV, using the Acceleration Analyzer:

```
. ~/Downloads/ib_acceleration_analyzer xcodebuild \
-project OpenCV.xcodeproj -scheme ALL_BUILD
```

When the build is over, the following report is produced:

<img src="https://mintcdn.com/incredibuild-docs-migrated/ksMbxrHEJ88OIQnr/images/mac/4.11.0/acceleration_analyzer_report.png?fit=max&auto=format&n=ksMbxrHEJ88OIQnr&q=85&s=58ea3780d592c48a7eb344aff2cff68b" alt="" width="843" height="476" data-path="images/mac/4.11.0/acceleration_analyzer_report.png" />
