TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby longrodover 2 years ago
Hi,<p>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 &amp; AMD (as if it&#x27;s such a complex task).<p>In any case, I also posted an issue in the repo but it was closed with a very vague &quot;it needs to run a bunch of Dart code to print help message and that takes time&quot;. [0]<p>Can someone with more experience in this language explain what I am doing wrong? In comparison, node --help takes 51ms.<p>I don&#x27;t think it&#x27;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.<p>The thing I am asking is, is it just me or this is the new norm?<p>Links in comment.

2 comments

longrodover 2 years ago
[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;dart-lang&#x2F;sdk&#x2F;issues&#x2F;50360" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dart-lang&#x2F;sdk&#x2F;issues&#x2F;50360</a>
Alifatiskover 2 years ago
Haven&#x27;t experienced this issue, I&#x27;m running Intel macos.