Optimize a C++ app on an Arm-based server with Arm Performix
Introduction
Set up Arm Performix
Build a sample C++ dot-product application
Find code hotspots in the scalar dot-product application
Find scalar dot-product CPU pipeline bottlenecks
Examine instruction patterns in the scalar dot-product application
Optimize the dot-product application with Arm Neon intrinsics
Validate the optimized dot-product application
Next Steps
Optimize a C++ app on an Arm-based server with Arm Performix
Introduction
Set up Arm Performix
Build a sample C++ dot-product application
Find code hotspots in the scalar dot-product application
Find scalar dot-product CPU pipeline bottlenecks
Examine instruction patterns in the scalar dot-product application
Optimize the dot-product application with Arm Neon intrinsics
Validate the optimized dot-product application
Next Steps
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
Enter the path on the target system relative to the target user’s home directory. For example, use a path such as
performix-analysis/dot_scalar. If Performix can’t start the binary, check the relative path and file permissions on the target.You should see a list of functions ranked by CPU time. Use this view to choose which functions to inspect or optimize first.
Specify the same binary path and arguments you used previously, for example,
performix-analysis/dot_scalar 16777216 2000. Then, run the recipe to get a Topdown breakdown of pipeline usage.Look for results dominated by scalar operations with no SIMD usage reported. This indicates missed vectorization opportunities.
Compare total runtime, changes in hotspot rankings, and shifts in the CPU Microarchitecture breakdown. In Instruction Mix, check for increased SIMD usage relative to the scalar run.