To benchmark mod_storage_internal
:
prosodyctl mod_benchmark_storage internal
Does a number (aprox. 10000) of reads and writes and to the selected storage driver and tells you how long it took.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_benchmark_storage
For earlier versions see the documentation for installing 3rd party modules