This:
https://github.com/raboof/realtimeconfigquickscan
is really intended for use to test realtime kernel audio configurations. However, the Perl script above does form a very good overall Linux performance optimization test, you can ignore a few items you may not need.