Skip to content

Commit

Permalink
Merge pull request #12 from jahzielv/jve-perf-reqwest
Browse files Browse the repository at this point in the history
Improving Hemingway's performance
  • Loading branch information
jahzielv authored Jul 27, 2020
2 parents 2236fe6 + 6f5a924 commit 0d8487a
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 144 deletions.
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.7.1]

TODO:
### Changed

- [ ] add tests
- [ ] make it faster? find a way to benchmark
- Revamped the feed fetching code by using future streams. Saw speedups of around 70% (~7 seconds for 14 feeds to ~2 seconds)! Big thanks to Pat Shaughnessy for his [blog post](http://patshaughnessy.net/2020/1/20/downloading-100000-files-using-async-rust) on downloading files in parallel with async Rust!

## [0.7.0] - 2020-07-20

Expand Down
90 changes: 73 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license = "MIT"
name = "hemingway"
readme = "README.md"
repository = "https://github.com/jahzielv/hemingway"
version = "0.7.0"
version = "0.7.1"

[lib]
name = "hemlib"
Expand All @@ -25,7 +25,7 @@ chrono = "0.4.11"
dialoguer = "0.6.2"
dirs = "2.0.2"
feed-rs = "0.3.0"
indicatif = "0.15.0"
futures = "0.3.5"
itertools = "0.9.0"
reqwest = "0.10.6"
serde = "1.0.112"
Expand Down
Loading

0 comments on commit 0d8487a

Please sign in to comment.