Profiling a test


I’m in need of profiling a specific part of a large C++ project, which has a bunch of unit and integration tests, managed through CTest. I was wondering if it was possible to profile a specific test (with some tool, like perf). If it isn’t, what do you recommend doing?

Thank you in advance :slight_smile: