Skip to content

Benchmark datasets

Pre-release
Pre-release

Choose a tag to compare

@jonwaldstein jonwaldstein released this 07 Oct 16:40
· 23 commits to main since this release
6407851

Database snapshots for wp give-data bench, generated with wp give-data donations on GiveWP 4.18.0: 50 campaigns with a default form each, donations in test mode spread over the three years before 2026-10-07, about one donor per ten donations.

Restore one onto a throwaway site, then benchmark it:

wp give-data restore https://github.com/impress-org/give-data-generator/releases/download/datasets/1m-givewp-4.18.0.sql.gz --yes
wp give-data bench 1m --save
file donations restore time
100k-givewp-4.18.0.sql.gz 100,000 under a minute
400k-givewp-4.18.0.sql.gz 400,000 about 2 minutes
1m-givewp-4.18.0.sql.gz 1,000,000 about 4 minutes

Each dump is a whole WordPress database from wp-env; restore rewrites the site URL when it differs. To replace a dump, generate the dataset again on a clean site and run wp give-data snapshot <label>. See docs/benchmarking.md.