libreddit/src
wsy2220 58fa213be8
Reuse hyper client. (#727)
Making a new connection on every request is very slow and wasteful, espectially on slower network.

Fix this by reuse a hyper client which shares a connection pool.

I'm able to lower /r/popular loading time from 5s to 1.5s on my machine.
2023-02-26 00:33:55 -07:00
..
client.rs Reuse hyper client. (#727) 2023-02-26 00:33:55 -07:00
config.rs Implement instance info endpoint (JSON, YAML, TXT) (#685) 2023-01-30 02:02:43 -07:00
duplicates.rs Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
instance_info.rs Implement instance info endpoint (JSON, YAML, TXT) (#685) 2023-01-30 02:02:43 -07:00
main.rs Implement instance info endpoint (JSON, YAML, TXT) (#685) 2023-01-30 02:02:43 -07:00
post.rs Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
search.rs Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
server.rs Cache result of server::determine_compressor. 2022-12-04 17:56:02 -07:00
settings.rs added leaving reddit dialog (#643) 2023-02-08 00:24:06 -07:00
subreddit.rs Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
user.rs Merge remote-tracking branch 'origin/master' into hide_awards 2023-01-03 11:12:27 -07:00
utils.rs added leaving reddit dialog (#643) 2023-02-08 00:24:06 -07:00