You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf(coverage): collapse is_executable_line grep calls into one
Combine the seven per-pattern grep subshells in
bashunit::coverage::is_executable_line into a single combined regex,
matched in one grep invocation per line. Each alternation stays
self-anchored so the existing semantics (and the existing test suite)
hold unchanged.
Reporter measured ~3.8x faster coverage generation on slow hardware.
Closes#636
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,9 @@
5
5
### Added
6
6
- Display captured test output on assertion failures when `--show-output` is enabled (#637)
7
7
8
+
### Changed
9
+
- Speed up coverage report generation by collapsing the per-line non-executable pattern checks in `bashunit::coverage::is_executable_line` into a single combined `grep` invocation (#636)
0 commit comments