Skip to content

Optimization: Rm use of BufReader and lazily allocate space for BytesMut in TestRunner::run_test_inner - #560

Merged
sunshowers merged 4 commits into
nextest-rs:mainfrom
NobodyXu:optimize
Oct 5, 2022
Merged

Optimization: Rm use of BufReader and lazily allocate space for BytesMut in TestRunner::run_test_inner#560
sunshowers merged 4 commits into
nextest-rs:mainfrom
NobodyXu:optimize

Conversation

@NobodyXu

@NobodyXu NobodyXu commented Oct 5, 2022

Copy link
Copy Markdown
Contributor

Signed-off-by: Jiahao XU Jiahao_XU@outlook.com

that has at least 4096 free space.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
@codecov

codecov Bot commented Oct 5, 2022

Copy link
Copy Markdown

Codecov Report

Merging #560 (9d8b0fb) into main (c18d3ae) will increase coverage by 0.01%.
The diff coverage is 90.90%.

@@            Coverage Diff             @@
##             main     #560      +/-   ##
==========================================
+ Coverage   77.17%   77.18%   +0.01%     
==========================================
  Files          49       49              
  Lines       11029    11034       +5     
==========================================
+ Hits         8512     8517       +5     
  Misses       2517     2517              
Impacted Files Coverage Δ
nextest-runner/src/runner.rs 84.89% <90.90%> (+0.09%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sunshowers

Copy link
Copy Markdown
Member

Looks great, thanks!

@sunshowers
sunshowers merged commit 22105ef into nextest-rs:main Oct 5, 2022
@NobodyXu
NobodyXu deleted the optimize branch October 6, 2022 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants