codee-com / open-catalog

A collaborative effort to consolidate expert knowledge on code guidelines for the correctness, modernization, and optimization of code written in C, C++, and Fortran programming languages
https://open-catalog.codee.com/
Apache License 2.0
83 stars 9 forks source link

Add PWR070: Declare array dummy arguments as assumed-shape arrays #16

Closed alvrogd closed 5 months ago

alvrogd commented 5 months ago

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
------------------------------------------------------------------
PWR070 Fortran Example         949 us          949 us          656
PWR070 Fortran Improved        233 us          233 us         3030