System profilers came into use after punch cards were no longer needed to run programs. Mainframe computers had evolved into have modular architectures at the same time punch cards were being abandoned as input devices. Punch card based mainframe computer systems typically had very rigidly fixed architectures with little variation in input or output devices.
Since the 1990s hardware independent system profilers have emerged in some computing architectures, like Linux. Most Unix-like (aka POSIX compliant) operating systems have system hardware independent profilers.
In Apple Computer's classic Mac OS, this was done by an application called Apple System Profiler.
macOS' profiler is simply called System Information, and can be accessed via two methods. A GUI application, System Information.app, provides system information in simplified tables and trees, whereas detailed, highly-verbose information can be viewed upon executing the /usr/sbin/system_profiler binary in a terminal emulator.
In Microsoft Windows, similar information can be found by viewing the properties of "My Computer" or "This PC," pressing the Windows key and Pause/Break key simultaneously, or by executing the msinfo32.exe binary.