Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cleanup transient completion variables #213

Merged
merged 1 commit into from
Oct 17, 2024
Merged

Conversation

reubeno
Copy link
Owner

@reubeno reubeno commented Oct 17, 2024

No description provided.

Copy link

Test Results

  2 files    9 suites   1m 2s ⏱️
478 tests 478 ✅ 0 💤 0 ❌
947 runs  947 ✅ 0 💤 0 ❌

Results for commit 5976375.

Copy link

Performance Benchmark Report

Benchmark name Baseline (μs) Test/PR (μs) Delta (μs) Delta %
expand_one_string 3.42 μs 3.42 μs -0.00 μs ⚪ Unchanged
instantiate_shell 60.03 μs 59.67 μs -0.36 μs ⚪ Unchanged
instantiate_shell_with_init_scripts 27856.50 μs 27913.82 μs 57.32 μs ⚪ Unchanged
parse_bash_completion 2711.72 μs 2704.40 μs -7.32 μs ⚪ Unchanged
parse_sample_script 3.98 μs 4.04 μs 0.06 μs 🟠 +1.48%
run_echo_builtin_command 91.61 μs 89.13 μs -2.49 μs 🟢 -2.71%
run_one_builtin_command 108.97 μs 108.31 μs -0.66 μs ⚪ Unchanged
run_one_external_command 1945.63 μs 1898.76 μs -46.87 μs 🟢 -2.41%
run_one_external_command_directly 1009.75 μs 1008.19 μs -1.56 μs ⚪ Unchanged

Code Coverage Report: Only Changed Files listed

Package Base Coverage New Coverage Difference
brush-core/src/completion.rs 🔴 19.07% 🔴 18.63% 🔴 -0.44%
brush-core/src/env.rs 🟢 87.85% 🟢 88.05% 🟢 0.2%
brush-core/src/shell.rs 🟢 78.11% 🟢 78.54% 🟢 0.43%
brush-shell/src/main.rs 🟢 89.61% 🟢 90.26% 🟢 0.65%
Overall Coverage 🟢 72.71% 🟢 72.68% 🔴 -0.03%

Minimum allowed coverage is 70%, this run produced 72.68%

@reubeno reubeno merged commit fd4d1ef into main Oct 17, 2024
11 checks passed
@reubeno reubeno deleted the unset-completion-vars branch October 17, 2024 07:01
39555 pushed a commit to 39555/brush that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant