Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve MSM_Sitemap::get_post_ids_for_date SQL's performance by sorting by date via PHP. #128

Merged
merged 1 commit into from
Dec 6, 2017

Conversation

david-binda
Copy link
Contributor

Sorting by post date in PHP halves the time necessary for querying posts from database.

This commit also contains adjusted tests, so they now not only assert the count, but also the order, which should cover this changeset.

…ng by ID via PHP.

Sorting by post date in PHP halves the time necessary for querying posts from database.

This commit also contains adjusted tests, so they now not only assert the count, but also the order, which should cover this changeset.
@david-binda david-binda merged commit 3ef7760 into master Dec 6, 2017
@gudmdharalds gudmdharalds deleted the order-by-date-in-php branch July 25, 2023 13:54
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.

2 participants