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

console.log is slow #11932

Closed
AnInternetTroll opened this issue Sep 6, 2021 · 0 comments · Fixed by #15931
Closed

console.log is slow #11932

AnInternetTroll opened this issue Sep 6, 2021 · 0 comments · Fixed by #15931
Labels
bug Something isn't working correctly perf performance related

Comments

@AnInternetTroll
Copy link
Contributor

Deno is slower than both node and js78 combined. For example
for.js:

for (let i = 0; i < 100000; ++i) console.log(`Hello, ${i}`);
$ time node for.js > /dev/null && time deno run for.js > /dev/null && time js78 for.js > /dev/null

real	0m0.342s
user	0m0.309s
sys	0m0.045s

real	0m0.610s
user	0m0.556s
sys	0m0.043s

real	0m0.096s
user	0m0.064s
sys	0m0.031s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly perf performance related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants