jpcima / string-machine

Digital model of electronic string ensemble instrument
Boost Software License 1.0
61 stars 7 forks source link

Faust benchmark #17

Open jpcima opened 4 years ago

jpcima commented 4 years ago

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

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

Delay3PhaseDigital LFO3PhaseDual NoiseLFO PwmOscillator StringFiltersHighshelf

jpcima commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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


    /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

sletz commented 4 years ago

Thanks, should be fixed in https://github.com/grame-cncm/faust/commit/ccedfc929e6d656b291bc29c8f306a5fdf995864.