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

dart2js memory usage output always 0 #56074

Open
parlough opened this issue Jun 24, 2024 · 0 comments
Open

dart2js memory usage output always 0 #56074

parlough opened this issue Jun 24, 2024 · 0 comments
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. P2 A bug or feature request we're likely to work on web-dart2js

Comments

@parlough
Copy link
Member

parlough commented Jun 24, 2024

At least for a few releases, the memory usage output of dart2js has been broken on my machine (macOS), always outputting 0.000 MB, no matter if ran through dart compile js or webdev. Perhaps due to some unaccounted for change in the VM service?

Compiled 11,795,509 input bytes (6,795,444 characters source) to 46,868 characters JavaScript in 0.89 seconds using 0.000 MB of memory

I think it's fine to not include the memory usage by default in the output, but if it's desired to keep it, would be nice for it to be accurate.

OS and SDK version info

General info

  • Dart 3.5.0-288.0.dev (dev) (Fri Jun 21 05:03:37 2024 -0700) on "macos_arm64"
  • on macos / Version 14.5 (Build 23F79)
  • locale is en-US

Project info

  • sdk constraint: '^3.5.0-288.0.dev'
  • dependencies: web
  • dev_dependencies: build_runner, build_web_compilers, lints, webdev
@parlough parlough added web-dart2js area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. labels Jun 24, 2024
@biggs0125 biggs0125 added the P2 A bug or feature request we're likely to work on label Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. P2 A bug or feature request we're likely to work on web-dart2js
Projects
None yet
Development

No branches or pull requests

2 participants