Skip to content

Commit

Permalink
Add benchmark for fetching (#67)
Browse files Browse the repository at this point in the history
* Add benchmark

* Bench concurrently and in parallel

* Refactor json bookmarks

* Fix bench

* Clean up tests

* Clean up tests

* Update changelog
  • Loading branch information
quambene authored Dec 7, 2023
1 parent af531c1 commit 6585239
Show file tree
Hide file tree
Showing 23 changed files with 681 additions and 151 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- added
- Add `action` to `TargetBookmark`
- Add benchmarks for fetching

### v0.6.1

Expand Down
192 changes: 191 additions & 1 deletion Cargo.lock

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

6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ license = "Apache-2.0"
[features]
integration-test = []

[[bench]]
name = "fetch"
harness = false

[dependencies]
anyhow = "1.0.72"
thiserror = "1.0.50"
Expand Down Expand Up @@ -44,3 +48,5 @@ assert_cmd = "2.0.12"
predicates = "3.0.4"
tempfile = "3.8.0"
wiremock = "0.5.19"
criterion = { version = "0.5.1", features = ["async_tokio"] }
tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros", "fs", "time", "test-util"] }
Loading

0 comments on commit 6585239

Please sign in to comment.