# Testing the performance of \`matmul\` under default compiler settings

**URL:** <https://fortran-lang.discourse.group/t/testing-the-performance-of-matmul-under-default-compiler-settings/4096>\
**Category:** Help\
**Created:** [July 31, 2022, 2:55am UTC](https://fortran-lang.discourse.group/t/testing-the-performance-of-matmul-under-default-compiler-settings/4096 "2022-07-31T02:55:16Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![zaikunzhang](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/zaikunzhang/32/785_2.png) [@zaikunzhang](https://fortran-lang.discourse.group/u/zaikunzhang)\
**Post date:** [July 31, 2022, 1:48pm UTC](https://fortran-lang.discourse.group/t/testing-the-performance-of-matmul-under-default-compiler-settings/4096/21 "2022-07-31T13:48:31Z")

</div>

> [@gareth](#):
>
> Not my expertise. Presumably it isn’t trivial to do this across the full range of platforms (?anyone informed about this?). No doubt more progress would be possible if more programmers choose to contribute to open source compilers, and/or more funding was available for compilers across the board.

I understand quite well the nontriviality, and I totally agree that more contributions are needed for open-source compilers (a huge thank to anyone who has contributed).

On the other hand, I do believe that commercial vendors like Intel have sufficient resources to move in this direction, and I do not believe that the engineers at MathWorks are much more intelligent/capable than those at Intel.

If MathWorks can optimize MATLAB intrinsic procedures up to a satisfactory level with the help of Fortran, Intel should be able to do it (much) better for the corresponding Fortran intrinsic procedures with the help of Fortran itself.

However, look at the [reality](https://fortran-lang.discourse.group/t/automatic-arrays-and-intrinsic-array-operations-to-use-or-not-to-use/4070/22) again.

---

_[View the full topic](https://fortran-lang.discourse.group/t/testing-the-performance-of-matmul-under-default-compiler-settings/4096)._
