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

timers: use Number() on timeout/repeat values #1597

Closed
wants to merge 1 commit into from

Conversation

mscdex
Copy link
Contributor

@mscdex mscdex commented May 3, 2015

This results in a ~14-23% performance increase in the 'breadth' timers benchmark.

Related jsperf

@mscdex mscdex added the timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout. label May 3, 2015
@mscdex mscdex closed this May 3, 2015
@mscdex mscdex reopened this May 3, 2015
This results in a ~14-23% performance increase in the
'breadth' timers benchmark.
@mscdex mscdex changed the title timers: use parseInt on timeout/repeat values timers: use Number() on timeout/repeat values May 3, 2015
@mscdex mscdex closed this May 3, 2015
@mscdex mscdex deleted the perf-timers branch May 3, 2015 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
timers Issues and PRs related to the timers subsystem / setImmediate, setInterval, setTimeout.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant