Skip to content

Conversation

@postmeback
Copy link

This PR contains the solution for Chapter 1-3 assignment.
Issue reference: #5

Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Copy link
Member

@radumarias radumarias left a comment

Choose a reason for hiding this comment

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

very good solution, congrats

just out of curiosity, could you also print the time it takes for each count?

and would be great if you could integrate https://crates.io/crates/criterion because that shows nice numbers and charts too as HTML. if you integrate this you need to extract in a function just the part that generates rand and remove from the vec, and just benchmark that, we we mostly care about this part

@postmeback
Copy link
Author

image

This is the output coming up, however, after implementing criterion,no such benchmark is appearing. I have updated the code base. Please have a look.

Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.com>
Signed-off-by: Arka Poddar <poddararka27@gmail.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.

2 participants