@@ -35,6 +35,9 @@ Options
3535
3636### Benchmark 1
3737
38+ - Git diff file: 40MB size and 1,808,684 lines long
39+ - Coverage file: 46MB size and 1,115,971 lines long
40+
3841| Metric | Rust | Python | Improvement (Python / Rust) |
3942| ---| ---:| ---:| ---:|
4043| Mean wall time | 2.47s | 108.23s | 43.90× |
@@ -44,6 +47,9 @@ Options
4447
4548### Benchmark 2
4649
50+ - Git diff file: 40MB size and 1,808,684 lines long
51+ - 50 coverage files: each 620KB size and 24,116 lines long
52+
4753| Metric | Rust | Python | Improvement (Python / Rust) |
4854| ---| ---:| ---:| ---:|
4955| Mean wall time | 2.10s | 227.24s | 108.24× |
@@ -52,7 +58,7 @@ Options
5258| Max peak RSS | 22.84 MB | 494.64 MB | 21.65× |
5359
5460* Peak RSS shown in MB (kB ÷ 1024).*
55- [ Full benchmark results] ( coverage-download/diff_cover_benchmark_comparison .md)
61+ [ Full benchmark results] ( docs/benchmark_results .md)
5662
5763## Installation
5864
@@ -66,6 +72,13 @@ Download the prebuilt archives from the [GitHub Releases page](https://github.co
6672cargo install diff-coverage
6773```
6874
75+ ### Docker
76+
77+ ``` bash
78+ docker run --rm -v " $PWD " :/work -w /work < dockerhub-user> /diff-coverage:latest \
79+ coverage.xml --diff-file diff.diff
80+ ```
81+
6982## Build
7083
7184``` bash
0 commit comments