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

feat(client): support save Profile summary to csv, txt or json file #1004

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

AChenQ
Copy link
Collaborator

@AChenQ AChenQ commented Sep 10, 2021

No description provided.

@coveralls
Copy link

coveralls commented Sep 10, 2021

Pull Request Test Coverage Report for Build 1236156735

  • 13 of 34 (38.24%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.2%) to 86.175%

Changes Missing Coverage Covered Lines Changed/Added Lines %
tensorbay/client/profile.py 13 34 38.24%
Files with Coverage Reduction New Missed Lines %
tensorbay/client/profile.py 1 39.77%
Totals Coverage Status
Change from base Build 1229668629: -0.2%
Covered Lines: 6140
Relevant Lines: 7125

💛 - Coveralls

tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
@AChenQ AChenQ force-pushed the T18337_profile_print branch from 64a25d0 to ccb0779 Compare September 10, 2021 08:22
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
@AChenQ AChenQ force-pushed the T18337_profile_print branch from ccb0779 to 739990a Compare September 13, 2021 03:48
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
tensorbay/client/profile.py Outdated Show resolved Hide resolved
@AChenQ AChenQ force-pushed the T18337_profile_print branch 3 times, most recently from ef9f271 to 6409f8a Compare September 14, 2021 06:20
content = "| ".join(f"{key:<{value}}" for key, value in _Columns.items())
else:
content = "| ".join(f"{item[key]:<{value}.3f}" for key, value in _Columns.items())
return "|".join([f"| {path:<58}", content, "\n"])
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use just one join rather two?

@AChenQ AChenQ force-pushed the T18337_profile_print branch from 6409f8a to b7770d4 Compare September 15, 2021 03:39
@AChenQ AChenQ force-pushed the T18337_profile_print branch from b7770d4 to f6d8ffc Compare September 15, 2021 03:56
@AChenQ AChenQ merged commit 36949e8 into Graviti-AI:main Sep 15, 2021
@AChenQ AChenQ deleted the T18337_profile_print branch September 15, 2021 03:56
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.

3 participants