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

Snapshots #83

Merged
merged 9 commits into from Sep 29, 2022
Merged

Snapshots #83

merged 9 commits into from Sep 29, 2022

Conversation

zix99
Copy link
Owner

@zix99 zix99 commented Sep 27, 2022

Add ability to "snapshot" output for out pipes and file writes

@netlify
Copy link

netlify bot commented Sep 27, 2022

Deploy Preview for raredocs ready!

Name Link
🔨 Latest commit 3365799
🔍 Latest deploy log https://app.netlify.com/sites/raredocs/deploys/6334f673f370740008ceeb90
😎 Deploy Preview https://deploy-preview-83--raredocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2022

Codecov Report

Merging #83 (3365799) into master (f266977) will increase coverage by 0.56%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##           master      #83      +/-   ##
==========================================
+ Coverage   86.56%   87.12%   +0.56%     
==========================================
  Files          93       96       +3     
  Lines        4363     4390      +27     
==========================================
+ Hits         3777     3825      +48     
+ Misses        450      431      -19     
+ Partials      136      134       -2     
Impacted Files Coverage Δ
cmd/helpers/updatingAggregator.go 83.33% <ø> (-0.88%) ⬇️
pkg/multiterm/cursor.go 76.47% <ø> (+39.62%) ⬆️
pkg/multiterm/linetrim.go 74.19% <0.00%> (+15.65%) ⬆️
pkg/multiterm/termstate/term.go 62.50% <62.50%> (ø)
cmd/helpers/output.go 87.50% <87.50%> (ø)
cmd/analyze.go 96.34% <100.00%> (ø)
cmd/bargraph.go 100.00% <100.00%> (ø)
cmd/heatmap.go 96.42% <100.00%> (+0.08%) ⬆️
cmd/histo.go 91.00% <100.00%> (+0.18%) ⬆️
cmd/tabulate.go 99.18% <100.00%> (+0.01%) ⬆️
... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@@ -59,8 +59,7 @@ func analyzeFunction(c *cli.Context) error {
}

aggr := aggregation.NewNumericalAggregator(&config)
writer := multiterm.New()
defer multiterm.ResetCursor()
writer := helpers.BuildVTermFromArguments(c)
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this defer writer.close (and all other agg's?) Is it safer?

pkg/multiterm/bufferedterm.go Outdated Show resolved Hide resolved
cmd/helpers/output.go Outdated Show resolved Hide resolved
@zix99 zix99 merged commit 7ec5457 into master Sep 29, 2022
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.

None yet

2 participants