This Open Catalog is a collaborative effort to consolidate expert knowledge on best practices for modernizing and optimizing code written in C, C++, and Fortran programming languages.
Apache License 2.0
79
stars
7
forks
source link
Add PWR068: Encapsulate external procedures within modules to avoid the risks of calling implicit interfaces #14
Add entry and benchmark for a new Fortran-specific checker. My results:
$ gfortran --version
GNU Fortran (Debian 12.2.0-14) 12.2.0
------------------------------------------------------------------
Benchmark Time CPU Iterations
------------------------------------------------------------------
PWR068 Fortran Example 3463 us 3463 us 203
PWR068 Fortran Improved 3466 us 3465 us 202
As can be seen, the recommended code modernization does not incur any performance downgrade.
Add entry and benchmark for a new Fortran-specific checker. My results:
As can be seen, the recommended code modernization does not incur any performance downgrade.