See the answer on the GitHub page:

By default the C++ compiler compiles for a "generic" CPU, where the LLVM 
backend is configurated to produce code for the "native" CPU (that one where 
the code will actually run). This usually explains this kind of differences.
You can try to use -march=native and also '-Ofast' in the C++ compiler, to have 
the same options the LLVM backend is using.

Stéphane 

> Le 6 sept. 2021 à 23:39, Victor Lazzarini <victor.lazzar...@mu.ie> a écrit :
> 
> Michael Gogins posted an interesting result comparing a faust dsp code 
> compiled to C++ and the
> same code run using the LLVM backend. For this test, the LLVM version is 
> reported to run about 15% faster. 
> 
> See it here: https://github.com/gogins/csound-extended/issues/187
> 
> I was surprised to see this. I wonder if others have observed similar results.
> ========================
> Prof. Victor Lazzarini
> Maynooth University
> Ireland
> 
> 
> 
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to