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

Display execution time #1

Open
m-a-x-s-e-e-l-i-g opened this issue Nov 7, 2024 · 3 comments
Open

Display execution time #1

m-a-x-s-e-e-l-i-g opened this issue Nov 7, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@m-a-x-s-e-e-l-i-g
Copy link

Feature Request: Display Execution Time

It would be great to have a feature that shows the execution time of algorithms. Here's an example of what it could look like:

image

Feature Description:

  • When the user clicks "Start," a timer begins counting from 0 seconds.
  • The timer continues until the algorithm completes its execution.

Why This Feature is Important:

  • It allows users to see how long different sorting algorithms take to execute in various scenarios.
  • This can help in comparing performance and optimizing code.

Thank you for considering this feature request and for your amazing project!

@mszula
Copy link
Owner

mszula commented Nov 7, 2024

Thank you for that feature request 🚀

That's a really good idea! I will implement it soon, and let you know when it's done 😎

Thank you for your kind words, if you have more ideas do not hesitate to create a new issue
I would be grateful also if you leave a star.

@mszula mszula added the enhancement New feature or request label Nov 7, 2024
@bearhoney
Copy link

I second the suggestion of a performance counter. 👍 However, instead of (or in addition to) "time", you could show the "cost" or "effort" in terms of comparisons and swaps.
The run time may seem meaningful on first sight, but will depend heavily on the platform it runs on, and other factors - even on the configured delay. 😁

@m-a-x-s-e-e-l-i-g
Copy link
Author

Yes ur right!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants