BlogDocs

refactor: further separate CLI logic from the API related functionality (see #117)(#124)

Comparing
Rolv-Apneseth:refactor-v3
(
c7d342c
) with
v3
(
a7247e4
)
-6%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
6
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

large
benches/benchmarks/check_texts.rs::checks::bench_split::split::large
-4%
126.6 ms
132.5 ms
medium
benches/benchmarks/check_texts.rs::checks::bench_basic::basic::medium
-6%
109 ms
115.5 ms
medium
benches/benchmarks/check_texts.rs::checks::bench_split::split::medium
-6%
112.8 ms
119.6 ms
small
benches/benchmarks/check_texts.rs::checks::bench_split::split::small
-6%
109.3 ms
116.1 ms
large
benches/benchmarks/check_texts.rs::checks::bench_basic::basic::large
-6%
109.1 ms
115.9 ms
small
benches/benchmarks/check_texts.rs::checks::bench_basic::basic::small
-6%
108.5 ms
115.4 ms

Commits

Click on a commit to change the comparison range
base
v3
a7247e4
0%
chore: bump minimum rust version
a6ea313
1 month ago
by Rolv-Apneseth
0%
fix: misc CI issues
15d1454
1 month ago
by Rolv-Apneseth
0%
feat: use `enum_dispatch` to avoid needing to manually call `cmd.execute` for each variant of `Command`
673ff5d
1 month ago
by Rolv-Apneseth
0%
refactor: avoid cloning request input string
2575c87
1 month ago
by Rolv-Apneseth
0%
refactor: use `Cow<'static, str>` instead of `String` for `check::Request.text`
b863f36
1 month ago
by Rolv-Apneseth
-6%
refactor: use `Cow<'source, str>` when not compiling with the `cli` feature Required cloning structs and methods from `api::check` to separate out the `clap` functionality, as `clap` wouldn't support the lifetime without it being `'static`
a1b258d
25 days ago
by Rolv-Apneseth
0%
fix: correct length addition and use `Cow::to_mut`
befbc52
12 days ago
by Rolv-Apneseth
0%
fix: satisfy `clippy` pre-commit hook
c7d342c
12 days ago
by Rolv-Apneseth
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.