sdk icon indicating copy to clipboard operation
sdk copied to clipboard

dart2js memory usage output always 0

Open parlough opened this issue 1 year ago • 0 comments

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 avatar Jun 24 '24 21:06 parlough