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

test: add a flag to generate the CPU profile for the transform command #1093

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

HarikrishnanBalagopal
Copy link
Contributor

@HarikrishnanBalagopal HarikrishnanBalagopal commented Sep 27, 2023

$ move2kube version -l
version: v0.3.0+unreleased
gitCommit: 3a847c3366c4d2cd70167fb98f79477d683094d8
gitTreeState: clean
goVersion: go1.21.0
platform: darwin/arm64
$ move2kube transform -s src/ --qa-skip --profile mycpuprofile.pprof
$ go tool pprof /Users/haribala/go/bin/move2kube mycpuprofile.pprof

profile001

image

image

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
@github-actions
Copy link

Thanks for making a pull request! 😃
One of the maintainers will review and advise on the next steps.

@github-actions github-actions bot added the test label Sep 27, 2023
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (1862c9c) 14.80% compared to head (3a847c3) 14.80%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1093   +/-   ##
=======================================
  Coverage   14.80%   14.80%           
=======================================
  Files          87       87           
  Lines        8245     8245           
=======================================
  Hits         1221     1221           
  Misses       6705     6705           
  Partials      319      319           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@seshapad seshapad merged commit 31f36fe into konveyor:main Sep 28, 2023
10 checks passed
@HarikrishnanBalagopal HarikrishnanBalagopal deleted the test/profile branch September 28, 2023 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants