bridgetown icon indicating copy to clipboard operation
bridgetown copied to clipboard

perf: Pagination slows down with many thousands of posts

Open jaredcwhite opened this issue 6 years ago • 1 comments

Trying out a benchmark with around 2000 posts and the difference with pagination off vs on goes from <10 seconds to around 50 seconds! I've noticed a bunch of data loops in the pagination code that seem ripe for optimization and/or caching, so I'll start there and see if we can knock this build time way down.

jaredcwhite avatar Apr 22 '20 19:04 jaredcwhite

I'm going to leave this in place for now even with #12 addressing some of the performance issues, until we can do further stress testing.

jaredcwhite avatar Apr 23 '20 22:04 jaredcwhite