codee-com / open-catalog

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 PWR032 Benchmark #8

Closed parequena closed 7 months ago

parequena commented 7 months ago

Those are my results

Benchmark Time CPU Iterations
PWR032 C Example 23618 us 23590 us 30
PWR032 C Improved 8917 us 8897 us 79

I don't really know if I have to upload PWR032 README example

alvrogd commented 7 months ago

I don't really know if I have to upload PWR032 README example

Do you mean replacing the example code with the new code for the benchmark?

alvrogd commented 7 months ago

I don't really know if I have to upload PWR032 README example

Do you mean replacing the example code with the new code for the benchmark?

It's not necessary if I'm not mistaken, the same has already been done for previous checks.

For example, PWR022 has a simple code to explain in the README, and a more complex snippet for the benchmark.