dart-sdk/utils
Nate Biggs bdb782ba8f [dart2js] Add mmap-based read to dart2js for linux systems.
Based on Martin Kustermann and Slava Egorov's versions of memory mapped views.

This feature is disabled by default and even if the flag is enabled, it will fall back to the current strategy if the platform is not Linux or the new strategy fails.

Phase 1 stats from 50 runs:
---Before---
Max memory: 8786.766
Median memory: 8116.242
Average memory: 8327.404081632654
---After---=
Max memory: 7805.691
Median memory: 7137.203
Average memory: 7305.301122448978

Phase 2 stats from 50 runs:
---Before---
Max memory: 9273.359
Median memory: 8742.133
Average memory: 8868.929124999999
---After---
Max memory: 9409.672
Median memory: 7500.148
Average memory: 7650.154000000001

Phase 3b stats from 50 runs:
---Before---
Max memory: 8979.367
Median memory: 8705.215
Average memory: 8703.982755102037
---After---
Max memory: 7809.898
Median memory: 7455.609
Average memory: 7449.96102040816


Change-Id: I73d73cfb26218399367c72c886f247836b89925c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/269640
Commit-Queue: Nate Biggs <natebiggs@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2022-11-18 21:40:38 +00:00
..
analysis_server [analyzer] Train snapshot more than --help 2022-11-15 10:49:51 +00:00
bazel [utils] - Migrate utils/bazel/kernel_worker.dart to sound null safety. 2022-10-26 22:44:47 +00:00
compiler [dart2js] Add mmap-based read to dart2js for linux systems. 2022-11-18 21:40:38 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dart2wasm [dart2wasm] Build product snapshot when building for the SDK. 2022-10-26 17:04:17 +00:00
dartanalyzer Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
dartdev [ CLI ] Migrate package:dartdev to null safety 2022-01-26 21:16:49 +00:00
dartdevc [ddc] Include shared library for new runtime types 2022-05-25 18:23:29 +00:00
dds Reapply "[build] Don't list Dart sources up front when creating application snapshots." 2021-04-27 17:22:54 +00:00
gen_kernel Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
kernel-service Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
tests/peg [test] Apply simarm64 status file entries to simarm64c. 2021-02-25 21:18:02 +00:00
aot_snapshot.gni [dart2wasm] Build product snapshot when building for the SDK. 2022-10-26 17:04:17 +00:00
application_snapshot.gni [build] Don't invoke the JIT runtime when using kernel for SDK snapshots. 2022-05-17 21:36:56 +00:00
compile_platform.gni Replace a bunch of references to .packages 2021-10-12 20:16:15 +00:00
create_timestamp.gni Reapply "[build] Track glob dependencies via depfiles, instead of always re-executing scripts at GN time." 2021-05-12 00:27:28 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00