-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Remove lifetime from Context, ResponseFuture, InterceptorFu…
…ture (#405) This PR will fix #403 The benchmark seems can't reflect the actual improvement. (I guess the test case(64K) is not suitable to measure the different between an `Arc::new`) Before: ```shell download 64K: isahc time: [201.80 ms 204.40 ms 207.00 ms] ``` After ```shell download 64K: isahc time: [200.32 ms 203.57 ms 206.90 ms] ``` Signed-off-by: Xuanwo <github@xuanwo.io>
- Loading branch information
Showing
9 changed files
with
184 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.