mirror of https://github.com/o2sh/onefetch.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
621da736df
chore/26/switch-to-gengo
dependabot/cargo/clap-8b2776fe79
dependabot/cargo/gix-03c4cf64a3
dependabot/cargo/human-panic-2.0.6
dependabot/cargo/insta-1.46.1
dependabot/cargo/serde_json-1.0.149
dependabot/cargo/time-0.3.46
dependabot/cargo/tokei-14.0.0
dependabot/npm_and_yarn/docs/vercel/svelte-5.46.4
main
2.14.0
2.14.1
2.14.2
2.15.0
2.15.1
2.16.0
2.17.0
2.17.1
2.18.0
2.18.1
2.19.0
2.20.0
2.21.0
2.22.0
2.23.0
2.23.1
2.24.0
2.25.0
2.26.0
2.26.1
v1.0.0
v1.0.5
v1.5.0
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5
v1.6.0
v1.6.5
v1.7.0
v2.0.0
v2.0.1
v2.1.0
v2.10.0
v2.10.1
v2.10.2
v2.11.0
v2.12.0
v2.13.0
v2.13.1
v2.13.2
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v2.7.0
v2.7.1
v2.7.2
v2.7.3
v2.8.0
v2.9.0
v2.9.1
${ noResults }
* add churn metric * add diff_count * revert * rename * add churn cli flags * fix integration test * add unit tests * try fix codeowners * fix codeowners * Optimize diff implementation * delay conversion to String for filepaths to the last moment. That way, only the paths that are displayed will be converted in an operation that isn't free. * change diff implementation to decode parents only once, instead of three times in the commmon case. * setup an object cache in the `Repository` for faster traversals and much faster diffs. * Don't fail on missing parent as we want to work in shallow repos, too * Increase performance by decoding the commit only once Previously, each time we would query commit information, the commit would lazily be decoded until the point of interest under the hood. Now we decode everything once, which is faster than what happened before. Note that diffs are still causing the parents to be decoded even we *could* pass them in, but it's not worth the complexity for just 100 commits (the default value for churn). * track changes on executable files * remove for_each method * use horizontal ellipsis * review * use MAIN_SEPERATOR when building path * revert * run expensive diffs in parallel and abort them once we run out of time. That way, we could even use higher amounts of diffs if we wanted to, or could warn if there was not enough time to reach the desired amount of diffs. * Always calculate at least one diff for 'churn' That way, there is always some data to work with. This is important in case the repo is very small and the thread needs some time to start-up and finish. * improved readability + churn_pool_size CLI flag The churn_pool_size allow the user to force onefetch to be deterministic in the number of commits used to create the churn summary * fix test * halt if the churn pool size is bigger than the total number of commits * improve readability * add unit test * refactor * simplify `should_break()` * update to latest `gix` version * Avoid exhaustive memory consumption by sending the commit-id instead of its buffer. The delta-processing happens by referring to a commit, and previously we could send the whole commit buffer (which is expensive) as the overall amount of buffers in flight would be bounded. Now that the bound was removed, it's necessary to limit the costs of the commit, and we do this by referring to it by id instead. That way, on the linux kernel, we get these values for memory consumption: * bounded: 960MB * unbounded buffer: 2156 * unbounded id: 1033 --------- Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com> |
3 years ago | |
|---|---|---|
| .. | ||
| repo__repo.snap | Added File Churn Metric (#1071) | 3 years ago |