By the way, the performance is a ton better once floats were enabled.
hardware: Raspberry Pi Zero -- Linux raspberrypi 4.14.34+ #1110 Mon Apr 16 14:51:42 BST 2018 armv6l GNU/Linux
build: cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS_RELEASE="-ffast-math -O3" -Denable-profiling=1 -Denable-floats=true ..
fluidsynth Number of measures(n_prof):5, duration of one mesure(dur):1000ms
fluidsynth
fluidsynth Profiling time(mm:ss): Total=0:5 Remainder=0:5, press <ENTER> to cancel
fluidsynth +417ms
fluidsynth ------------------------------------------------------------------------------
fluidsynth Duration(microsecond) and cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond)
fluidsynth ------------------------------------------------------------------------------
fluidsynth Code under profiling |Voices| Duration (microsecond) | Load(%)
fluidsynth | nbr| min| avg| max|
fluidsynth ---------------------------|------|--------------------------------|----------
fluidsynth synth_write_* ------------>| 50| 1168.00| 1233.01| 1415.00| 84.962
fluidsynth synth_one_block ---------->| 50| 1150.00| 1212.99| 1374.00| 83.582
fluidsynth synth_one_block:clear ---->| 50| 3.00| 5.15| 85.00| 0.355
fluidsynth synth_one_block:one voice->| 1| 18.00| 20.73| 118.00| 1.428
fluidsynth synth_one_block:all voices>| 50| 990.00| 1041.04| 1184.00| 71.734
fluidsynth synth_one_block:reverb --->| 0| 107.00| 113.22| 190.00| 7.802
fluidsynth synth_one_block:chorus --->| 0| 35.00| 46.79| 142.00| 3.224
fluidsynth voice:note --------------->| no profiling available
fluidsynth voice:release ------------>| no profiling available
fluidsynth ------------------------------------------------------------------------------
fluidsynth Cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond) and maximum voices
fluidsynth ------------------------------------------------------------------------------
fluidsynth nVoices| total(%)|voices(%)| reverb(%)|chorus(%)| voice(%)|estimated maxVoices
fluidsynth -------|---------|---------|----------|---------|---------|-------------------
fluidsynth 50| 84.962| 73.936| 7.802| 3.224| 1.435| 62
fluidsynth
fluidsynth Profiling time(mm:ss): Total=0:5 Remainder=0:4, press <ENTER> to cancel
fluidsynth +624ms
fluidsynth ------------------------------------------------------------------------------
fluidsynth Duration(microsecond) and cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond)
fluidsynth ------------------------------------------------------------------------------
fluidsynth Code under profiling |Voices| Duration (microsecond) | Load(%)
fluidsynth | nbr| min| avg| max|
fluidsynth ---------------------------|------|--------------------------------|----------
fluidsynth synth_write_* ------------>| 50| 1168.00| 1232.86| 1415.00| 84.952
fluidsynth synth_one_block ---------->| 50| 1150.00| 1213.04| 1374.00| 83.586
fluidsynth synth_one_block:clear ---->| 50| 3.00| 5.07| 85.00| 0.349
fluidsynth synth_one_block:one voice->| 1| 17.00| 20.73| 122.00| 1.428
fluidsynth synth_one_block:all voices>| 50| 989.00| 1041.04| 1184.00| 71.734
fluidsynth synth_one_block:reverb --->| 0| 107.00| 113.37| 200.00| 7.812
fluidsynth synth_one_block:chorus --->| 0| 35.00| 46.72| 142.00| 3.219
fluidsynth voice:note --------------->| no profiling available
fluidsynth voice:release ------------>| no profiling available
fluidsynth ------------------------------------------------------------------------------
fluidsynth Cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond) and maximum voices
fluidsynth ------------------------------------------------------------------------------
fluidsynth nVoices| total(%)|voices(%)| reverb(%)|chorus(%)| voice(%)|estimated maxVoices
fluidsynth -------|---------|---------|----------|---------|---------|-------------------
fluidsynth 50| 84.952| 73.921| 7.812| 3.219| 1.435| 62
fluidsynth
fluidsynth Profiling time(mm:ss): Total=0:5 Remainder=0:3, press <ENTER> to cancel
fluidsynth ------------------------------------------------------------------------------
fluidsynth Duration(microsecond) and cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond)
fluidsynth ------------------------------------------------------------------------------
fluidsynth Code under profiling |Voices| Duration (microsecond) | Load(%)
fluidsynth | nbr| min| avg| max|
fluidsynth ---------------------------|------|--------------------------------|----------
fluidsynth synth_write_* ------------>| 50| 1168.00| 1232.97| 1415.00| 84.960
fluidsynth synth_one_block ---------->| 50| 1150.00| 1213.16| 1374.00| 83.594
fluidsynth synth_one_block:clear ---->| 50| 3.00| 5.05| 85.00| 0.348
fluidsynth synth_one_block:one voice->| 1| 17.00| 20.73| 122.00| 1.429
fluidsynth synth_one_block:all voices>| 50| 989.00| 1041.12| 1184.00| 71.740
fluidsynth synth_one_block:reverb --->| 0| 107.00| 113.56| 200.00| 7.825
fluidsynth synth_one_block:chorus --->| 0| 35.00| 46.61| 142.00| 3.212
fluidsynth voice:note --------------->| no profiling available
fluidsynth voice:release ------------>| no profiling available
fluidsynth ------------------------------------------------------------------------------
fluidsynth Cpu loads(%) (sr: 44100 Hz, sp: 22.68 microsecond) and maximum voices
fluidsynth ------------------------------------------------------------------------------
fluidsynth nVoices| total(%)|voices(%)| reverb(%)|chorus(%)| voice(%)|estimated maxVoices
fluidsynth -------|---------|---------|----------|---------|---------|-------------------
fluidsynth 50| 84.960| 73.923| 7.825| 3.212| 1.435| 62
fluidsynth
fluidsynth Profiling time(mm:ss): Total=0:5 Remainder=0:2, press <ENTER> to cancel