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

#149 : Add list command for dicedb #150

Merged
merged 3 commits into from
Jul 14, 2024

Conversation

yashs360
Copy link
Contributor

Added list command. Please review and provide your inputs.

Summary of change:

  • Added Constants for Command names to keep it easy to add new commands, as well as reuse commands in tests
  • Added List command
  • Added test and benchmark

Benchmark results - (first time running benchmark so i don't have a baseline to compare if this code was good or shit). I could use some help here.

Screenshot 2024-07-12 at 11 12 24 PM

@yashs360
Copy link
Contributor Author

@arpitbbhayani @JyotinderSingh - First real code contribution, not like the past fluffy PRs. Please review.

Copy link
Collaborator

@JyotinderSingh JyotinderSingh left a comment

Choose a reason for hiding this comment

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

Left some minor comments.

@JyotinderSingh JyotinderSingh merged commit ae8a8e3 into DiceDB:master Jul 14, 2024
2 checks passed
@JyotinderSingh
Copy link
Collaborator

Thanks for this contribution!

JyotinderSingh added a commit that referenced this pull request Jul 14, 2024
@JyotinderSingh
Copy link
Collaborator

I re-read the associated issue, turns out the actual command name needs to be COMMAND LIST, and we should also include a memory benchmark.
Let's do that before we merge this.

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.

2 participants