Skip to content

console.log is slow #11932

Closed
Closed
@AnInternetTroll

Description

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working correctlyperfperformance related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions