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

Add profiling for DiceDB #1048

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

soumya-codes
Copy link
Contributor

This PR adds profiling support for DiceDB

How to run profiling:

go build main.go  
./main --enable-multithreading=true --enable-profiling=true

@soumya-codes
Copy link
Contributor Author

@arpitbbhayani, PR for profiling DiceDB

main.go Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
main.go Outdated Show resolved Hide resolved
@JyotinderSingh JyotinderSingh mentioned this pull request Oct 13, 2024
@soumya-codes soumya-codes force-pushed the soumya-codes/profiling branch from ed3b2f4 to d07bc5f Compare October 14, 2024 15:54
@soumya-codes
Copy link
Contributor Author

@lucifercr07 have implemented your suggestions. Please let me know how they look.

Copy link
Contributor

@lucifercr07 lucifercr07 left a comment

Choose a reason for hiding this comment

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

LGTM

main.go Outdated Show resolved Hide resolved
@soumya-codes soumya-codes force-pushed the soumya-codes/profiling branch from d07bc5f to 716f939 Compare October 15, 2024 12:24
Signed-off-by: soumya-codes <151079203+soumya-codes@users.noreply.github.com>
@soumya-codes soumya-codes force-pushed the soumya-codes/profiling branch from 716f939 to 34f157f Compare October 15, 2024 12:25
@soumya-codes soumya-codes merged commit 8848471 into DiceDB:master Oct 15, 2024
2 checks passed
@soumya-codes soumya-codes deleted the soumya-codes/profiling branch October 15, 2024 12:48
sashpawar11 pushed a commit to sashpawar11/dice that referenced this pull request Oct 15, 2024
Signed-off-by: soumya-codes <151079203+soumya-codes@users.noreply.github.com>
@vinitparekh17
Copy link
Contributor

@soumya-codes What is the purpose of pushing the binary file "main"?

@lucifercr07
Copy link
Contributor

@soumya-codes What is the purpose of pushing the binary file "main"?

That's a miss, will raise a PR to remove it. Thanks for pointing it out.

@soumya-codes
Copy link
Contributor Author

@vinitparekh17 thanks for catching. I see @lucifercr07 has already raised a PR for this.

kakdeykaushik pushed a commit to kakdeykaushik/dice that referenced this pull request Oct 19, 2024
Signed-off-by: soumya-codes <151079203+soumya-codes@users.noreply.github.com>
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