mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
9f0872847d
Prior to this change, on Linux, if one created a symbolic link to the dart executable and ran that, the kernel-service snapshot would not be found. This has the effect of compiling the input script on a non-trained kernel service, meaning the startup is slower. This is particularly bad as the debian install of dart creates a symbolic link to dart as /usr/bin/dart with the target being /usr/lib/dart/bin/dart meaning that for instance running a hello-world script like one normally would, `dart hello.dart` would take something along the lines of 3-4 times longer than if running `/usr/lib/dart/bin/dart hello.dart`. On my Pixelbook (in crostini) this is ~755 ms vs ~210 ms. This change does *NOT* fix it on other platforms. Change-Id: I6c9105d49205f3e4b9ea64e8ddb95a1d36ae21a5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117144 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
bin | ||
docs | ||
include | ||
lib | ||
llvm_codegen | ||
observatory | ||
platform | ||
tests/vm | ||
third_party | ||
tools | ||
vm | ||
.clang-tidy | ||
.gitignore | ||
BUILD.gn | ||
codereview.settings | ||
configs.gni | ||
CPPLINT.cfg | ||
PRESUBMIT.py | ||
runtime_args.gni |