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

Showing stats for Time & Memory consumed #301

Open
goyalyashpal opened this issue Apr 7, 2023 · 1 comment
Open

Showing stats for Time & Memory consumed #301

goyalyashpal opened this issue Apr 7, 2023 · 1 comment

Comments

@goyalyashpal
Copy link

goyalyashpal commented Apr 7, 2023

Thanks a lot for such a wonderful package.

  • While doing Sentimental-Credit (credit in python) - I realised several scope of performance oriented improvements in how I can implement that. But not being an expert, I was just guessing about those.

  • Several competitive programming (CP) sites like Coding Ninja, Codeforces, Leetcode etc throw lots of test cases at the programs & measure the program against time required and i guess also on memory consumed.

  • Such a thing at much limited scope was also done in the Sort (x/*/labs/3) with time - but on the student side

So, having that kind of check for resource consumption in check50 will help students measure the efficiency of their code and make better - tangible statistics backed - decisions for choice of Data Structure & Algorithm (DSA) they used on the way.

This will also help in dealing with review of code of internal on-campus students. The cs50 staff would then be easily able to point to a particular tangible number.

Thanks again.

@goyalyashpal
Copy link
Author

goyalyashpal commented Apr 7, 2023

Ofcourse, the results of this performance score should not be barred or say should not be used to disqualify a submission. Rather, my main goal is just to help students track it for their own use - not for grading in the assesment.

The results of this will be shown in the same row. The name of result can be performace50 (ambiguous about which of higher/lower is better) or resource50 (highly ambiguous) or cost50 (best imo)
maybe smth like:

check50 -/- • style50 __ • performance50 -/- • __ comments

Currently it is as follows:

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

No branches or pull requests

1 participant