Skip to content

Add characterization tests for PageIndex.from_database() query count#930

Open
rypptc wants to merge 1 commit into
wagtail:mainfrom
rypptc:feature/synctree-characterization-tests
Open

Add characterization tests for PageIndex.from_database() query count#930
rypptc wants to merge 1 commit into
wagtail:mainfrom
rypptc:feature/synctree-characterization-tests

Conversation

@rypptc

@rypptc rypptc commented Jun 3, 2026

Copy link
Copy Markdown

Related to #927

Description

Adds characterization tests to test_synctree.py to document the current query count and execution time of PageIndex.from_database() as a baseline for the upcoming optimization proposed in #927.

AI usage

Used AI assistance to review Django's query testing tools (CaptureQueriesContext, time.perf_counter) before applying them to this implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant