3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 12:18:28 +01:00

Record the reading cost and refresh item 92's figures

This commit is contained in:
2026-10-14 22:19:59 +02:00
parent 4298de84e8
commit 8e7f21207d
2 changed files with 23 additions and 6 deletions
+17
View File
@@ -385,3 +385,20 @@ Read most (opens and searches):
- `docker-runner.sh` 1
- `package.json` 1
- `tsconfig.build.json` 1
## Reading cost, chunk 5a2bec0d3370, finished 2026-10-14T20:13:58Z
113495 new input tokens before the first commit.
Read most (opens and searches):
- `README.md` 11
- `todo.md` 7
- `src/conformance/commonmark-spec.test.ts` 6
- `MIGRATION.md` 5
- `spec/flavour.md` 4
- `src/markdown/parse/inline-content.ts` 4
- `src/markdown/parse/markdown-to-adf.test.ts` 4
- `src/markdown/portable/inline-reduction.ts` 4
- `CHANGELOG.md` 3
- `docs/decisions.md` 3
+6 -6
View File
@@ -142,12 +142,12 @@ commonmark.js avoids the backtick cost by caching backtick runs by length.
### 92. Lower the reading cost of the files a chunk reads most before its first commit.
The last five chunks' median is 104037 new input tokens before their first commit, the five before
them 96564. Files read most over the last five chunks, counting opens and searches: `README.md` 35,
`todo.md` 35, `spec/flavour.md` 24, `docs/decisions.md` 23, `CHANGELOG.md` 14,
`src/markdown/emit/adf-to-markdown.test.ts` 14, `src/markdown/parse/markdown-to-adf.test.ts` 14,
`src/markdown/directive-syntax.ts` 10, `src/conformance/adf-schema.test.ts` 8,
`src/conformance/property-harness.ts` 6.
The last five chunks' median is 113495 new input tokens before their first commit, the five before
them 96564. Files read most over the last five chunks, counting opens and searches: `README.md` 38,
`todo.md` 36, `spec/flavour.md` 22, `docs/decisions.md` 20,
`src/markdown/parse/markdown-to-adf.test.ts` 18, `src/markdown/emit/adf-to-markdown.test.ts` 14,
`CHANGELOG.md` 12, `src/markdown/directive-syntax.ts` 10, `src/conformance/adf-schema.test.ts` 8,
`src/markdown/parse/inline-content.ts` 7.
### 33. Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`.