8

Github fix N+1 queries when fetching crate details by syphar · Pull Request #123...

 3 years ago
source link: https://github.com/rust-lang/docs.rs/pull/1239
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Contributor

syphar commented 11 days ago

edited

There we some unnecessary repetitions in the statements. Version-Details were fetched for every version/release with a separate statement.

This was the first reason I found to slow rustdoc pages down.

Local manual tests look fine for me, but a second pair of eyes likely is good :)

(I'm happy to implement any improvements needed)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK