annotate mod_benchmark_storage/README.markdown @ 5061:e44b868cc575

mod_storage_appendmap: Fix keyvalue writes store_raw() takes a filename, unlike most other datamanager functions that take a series of path components, leading to this bug where it would write the hostname into a file named after the first argument (commonly a username) in the working directory.
author Kim Alvefur <zash@zash.se>
date Sun, 09 Oct 2022 21:35:18 +0200
parents 5a19ccd8457a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1857
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 ---
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 summary: Storage benchmark tool
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 ...
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 To benchmark `mod_storage_internal`:
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 prosodyctl mod_benchmark_storage internal
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
9 Does a number (aprox. 10000) of reads and writes and to the selected
5a19ccd8457a mod_benchmark_storage: Add README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
10 storage driver and tells you how long it took.