Mercurial > prosody-modules
view mod_benchmark_storage/README.markdown @ 5276:67777cb7353d
mod_http_oauth2: Pedantic optimization
Checking the length of the string seems like 30% more expensive than
comparing it with the empty string (by reference, probably).
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 26 Mar 2023 14:37:42 +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.