Skip to content

Ask HN: Why does dart –help take 500ms?

1 pointlongrod2 comments
On HN

Hi,

So I have been playing around with Dart and while it seems cool as a language the tooling performance is absolutely abysmal. As the title says, dart --help takes 500ms just to print the help. I tested it out on Intel & AMD (as if it's such a complex task).

In any case, I also posted an issue in the repo but it was closed with a very vague "it needs to run a bunch of Dart code to print help message and that takes time". [0]

Can someone with more experience in this language explain what I am doing wrong? In comparison, node --help takes 51ms.

I don't think it's such a straining task for it to take this long. Consequently, dart format is also similarly slow taking 300ms to format a file with 3 lines.

The thing I am asking is, is it just me or this is the new norm?

Links in comment.

Comments

Haven't experienced this issue, I'm running Intel macos.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.