Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faust benchmark #17

Open
jpcima opened this issue Dec 31, 2019 · 4 comments
Open

Faust benchmark #17

jpcima opened this issue Dec 31, 2019 · 4 comments

Comments

@jpcima
Copy link
Owner

jpcima commented Dec 31, 2019

Below are some measures of output throughput with faust bench.cpp. (GCC)

  • fast-math is able to get a performance increase most of times
  • vec is almost always a massive decrease

Edit: the data is a measure of throughput, which means higher = better.

Delay3PhaseDigital
LFO3PhaseDual
NoiseLFO
PwmOscillator
StringFiltersHighshelf

@jpcima
Copy link
Owner Author

jpcima commented Dec 31, 2019

And this is when using Clang as compiler.

Here it's some of the same conclusions except that vec is useful in some cases.

Delay3PhaseDigital
LFO3PhaseDual
NoiseLFO
PwmOscillator
StringFiltersHighshelf

@sletz
Copy link

sletz commented May 1, 2020

You should try the faustbench-llvm tool described here: https://github.com/grame-cncm/faust/tree/master-dev/tools/benchmark.
See for instance this log: https://gist.github.com/sletz/1f2f07bde42dda5721c46a3ce4e9c578

@jpcima
Copy link
Owner Author

jpcima commented May 2, 2020

@sletz, very useful thanks
I've had a few obstacles building it however, so I took a few notes.


  • has macOS-only build flags

    "-dead_strip" in tools/benchmark/Makefile

  • fails build on a case-sensitive FS

    /opt/faust/include/faust/dsp/dsp-bench.h:42:10: erreur fatale: faust/GUI/MapUI.h : Aucun fichier ou dossier de ce type
       42 | #include "faust/GUI/MapUI.h"

replace faust/GUIfaust/gui to resolve it

  • builds against system headers instead of headers in-repository
    (fail with faust 2.20.2 on system)

@sletz
Copy link

sletz commented May 2, 2020

Thanks, should be fixed in grame-cncm/faust@ccedfc9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants