Crates.io | lcov-util |
lib.rs | lcov-util |
version | 0.2.1 |
source | src |
created_at | 2018-02-08 15:30:41.802623 |
updated_at | 2022-07-18 11:04:43.509616 |
description | Utility commands to operate and analyze LCOV trace file at blazingly fast. |
homepage | |
repository | https://github.com/gifnksm/lcov/ |
max_upload_size | |
id | 50187 |
size | 616,386 |
Utility commands to manipulate and analyze LCOV tracefiles blazingly fast.
LCOV is a graphical front-end for coverage testing tool gcov. It collects gcov data for multiple source files and stores them into the file called as "tracefile".
The purpose of this crate is to operate the LCOV tracefile faster than the original LCOV Perl implementation.
cargo install lcov-util
Comparing the execution of merging LCOV tracefiles, between 3 programs:
lcov 1.16
: Latest released version of LCOV
lcov master
: Latest development version of LCOV
lcov-merge
: lcov-merge
executable from lcov-util
v0.2.0with 3 datasets (generated by mkinfo
tool from LCOV repository):
small | medium | large | |
---|---|---|---|
lcov 1.16 |
0.22s | 2.41s | 21.69s |
lcov master |
0.23s | 2.30s | 21.34s |
lcov-merge |
0.01s | 0.21s | 2.73s |
In this benchmark, lcov-merge
is 10-20x faster than lcov 1.16
/ lcov-master
.
See benchsuite
directory for details.
The minimum supported Rust version is Rust 1.56.1. At least the last 3 versions of stable Rust are supported at any given time.
While a crate is pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in lcov by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.