Visual Studio Code, rebuilt in Rust
Rust
docs(readme): label memory MiB, say one part works with gaps
rokartur7b9f1e5bd0b2
diff --git a/README.md b/README.mdindex 415c5d6a768..ec00d640510 100644--- a/README.md+++ b/README.md@@ -32,7 +32,7 @@ Opening the VS Code 1.147.0 source (21,462 files) with warm caches, median of 5|---|---|---|| Window with the folder | **0.79 s** | 0.99 s || Ready (CPU settled) | **2.5 s** | 12.1 s |-| Memory (footprint, all processes) | **218 MB** | 975 MB |+| Memory (footprint, all processes) | **218 MiB** | 975 MiB || CPU time until ready | **2.5 s** | 10.1 s || Idle CPU | 1.9 % of a core | **0.2 %** of a core || Quit | **0.14 s** | 0.23 s |@@ -42,7 +42,7 @@ Release builds of both with default settings and the same built-in extensions, A## Coverage<!-- coverage:start -->-**434 of the 435 parts of VS Code 1.147.0 the port covers match upstream 1:1 (99%).** The other 1 works, with open gaps listed below. 154 more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).+**434 of the 435 parts of VS Code 1.147.0 the port covers match upstream 1:1 (99%).** The other one works, with open gaps listed below. 154 more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).```mermaid%%{init: {"theme": "base", "themeVariables": {"pie1": "#2da44e", "pie2": "#d4a72c", "pie3": "#8c959f", "pieStrokeColor": "#ffffff", "pieOuterStrokeColor": "#ffffff", "pieSectionTextColor": "#ffffff", "pieLegendTextColor": "#8c959f", "pieTitleTextColor": "#8c959f"}}}%%diff --git a/port/tools/readme-coverage.ts b/port/tools/readme-coverage.tsindex fa5eed37f71..9816041189d 100755--- a/port/tools/readme-coverage.ts+++ b/port/tools/readme-coverage.ts@@ -59,7 +59,7 @@ const bar = (c: typeof total) => {};const lines = [- `**${total.verified} of the ${inScope(total)} parts of VS Code 1.147.0 the port covers match upstream 1:1 (${percent(total)}%).** The other ${inScope(total) - total.verified} ${inScope(total) - total.verified === 1 ? 'works' : 'work'}, with open gaps listed below. ${leftOut(total)} more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).`,+ `**${total.verified} of the ${inScope(total)} parts of VS Code 1.147.0 the port covers match upstream 1:1 (${percent(total)}%).** ${inScope(total) - total.verified === 1 ? 'The other one works' : `The other ${inScope(total) - total.verified} work`}, with open gaps listed below. ${leftOut(total)} more are left out on purpose. A part is one upstream folder: a feature, a service or a built-in extension, counted from [port/ledger.md](port/ledger.md).`,'','```mermaid',`%%{init: {"theme": "base", "themeVariables": {"pie1": "#2da44e", "pie2": "#d4a72c", "pie3": "#8c959f", "pieStrokeColor": "#ffffff", "pieOuterStrokeColor": "#ffffff", "pieSectionTextColor": "#ffffff", "pieLegendTextColor": "#8c959f", "pieTitleTextColor": "#8c959f"}}}%%`,