-
Notifications
You must be signed in to change notification settings - Fork 597
Open
Labels
Description
The site should support for a separate “benchmark” content set, with the following metrics.
- Scale of content complexity
- Number of fields: 100
- StreamField
- 100 blocks
- 10 levels of nesting
- 100 blocks
- 100 items in InlinePanel
- 100 paragraphs in rich text
- Scale of implementation complexity
- 10 levels of multi-table inheritance
- Scale of site history
- 100,000 revisions for a page
- 1M revisions across the whole
- Scale of page tree
- Amount: 100,000 pages
- Breadth of page tree
- 100,000 pages - 1M: blog section, online marketplace
- Depth of page tree (depending on default treebeard configuration)
- 10? Intranet use case could have more?
- Attempt to retrieve this number for real-world sites / SQL query or QS snippet
- 100 language translations
- Scale of images
- Hundreds - 10,000
- Usage references - 1000 (one image referenced 1000 times)
- And-or maybe 1000 references across multiple images
- Average: images are used once
- Scale of snippets
- 1M instances
A lot of those are very feasible for one person as a one-off. We need this done in a way that is more readily accessible. This might not be realistic but ideally as simple as initializing the site with a load_benchmark_data management command or similar, and that’s it.