view mod_benchmark_storage/README.markdown @ 4919:347e34c3c7e2

mod_rest: Improve error handling during format mapping Prevents e.g. a nil, error return going directly into e.g. json encoding, resulting in "null" being returned. Further handling improvements down the line is needed.
author Kim Alvefur <zash@zash.se>
date Thu, 07 Apr 2022 17:49:08 +0200
parents 5a19ccd8457a
children
line wrap: on
line source

---
summary: Storage benchmark tool
...

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.