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

TimingFunction/IntervalTimer with NodeJS #239

Closed
nandanvasudevan opened this issue Aug 1, 2020 · 4 comments
Closed

TimingFunction/IntervalTimer with NodeJS #239

nandanvasudevan opened this issue Aug 1, 2020 · 4 comments
Labels
question Furthur information is requested wontfix Will not be fixed or is a feature

Comments

@nandanvasudevan
Copy link
Contributor

The function works fine on the browser. The instance returns the time run.
However, nodeJS uses a completely different structure for it's timers.
It may not be necessary in NodeJS. I genuinely think it helps otherwise, I use it to time my unit tests.

The value returned by setInterval() is the total runtime of the timer.

@itsvinayak
Copy link
Member

@nandanvasudevan is there any program in the repo with this issue, please list here

@itsvinayak itsvinayak added the question Furthur information is requested label Oct 31, 2020
@stale
Copy link

stale bot commented Feb 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix Will not be fixed or is a feature label Feb 13, 2021
@InerkyJad
Copy link

Hi @nandanvasudevan, i can see that your request doesn't really involve any algorithm, or issues in the repository.
Still You can use console.time() to start a timer and use console.timeEnd() to stop it, this is available on both NodeJs and in the standard JavaScript and it can be used to calculate the run time.

@stale
Copy link

stale bot commented Mar 19, 2021

Please reopen this issue once you commit the changes requested or make improvements on the code. Thank you for your contributions.

@stale stale bot closed this as completed Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Furthur information is requested wontfix Will not be fixed or is a feature
Projects
None yet
Development

No branches or pull requests

3 participants