3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-13 04:08:29 +01:00

Record the chunk's reading cost and refresh item 92's figures

This commit is contained in:
2026-10-11 11:53:27 +02:00
committed by Lillem4n
parent a38b61347a
commit 6c6fb39640
2 changed files with 22 additions and 5 deletions
+17
View File
@@ -215,3 +215,20 @@ Read most (opens and searches):
- `src/markdown/commonmark/grammar.ts` 3
- `src/markdown/directive-syntax.test.ts` 3
- `src/markdown/portable/conventions.ts` 3
## Reading cost, chunk b00b273b412e, finished 2026-10-11T09:45:23Z
75569 new input tokens before the first commit.
Read most (opens and searches):
- `src/markdown/parse/blocks.ts` 8
- `CHANGELOG.md` 6
- `todo.md` 6
- `README.md` 4
- `corpus/commonmark-spec/exceptions.json` 3
- `docs/decisions.md` 3
- `src/markdown/parse/markdown-to-adf.test.ts` 3
- `MIGRATION.md` 2
- `AGENTS.md` 1
- `ci.sh` 1
+5 -5
View File
@@ -122,11 +122,11 @@ 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 168135 new input tokens before their first commit, the five before
them 68188. Read most over the last five, opens and searches: `docs/decisions.md` 28, `README.md`
25, `todo.md` 21, `CHANGELOG.md` 15, `spec/flavour.md` 15,
`src/markdown/portable/adf-to-portable-markdown.ts` 12, `src/markdown/parse/markdown-to-adf.test.ts`
11, `MIGRATION.md` 9, `src/markdown/emit/line-escaping.ts` 9, `src/markdown/parse/inline-content.ts`
8.
them 97329. Read most over the last five, opens and searches: `docs/decisions.md` 28, `README.md`
23, `todo.md` 23, `CHANGELOG.md` 19, `src/markdown/parse/blocks.ts` 15,
`src/markdown/portable/adf-to-portable-markdown.ts` 12, `spec/flavour.md` 10,
`src/markdown/emit/line-escaping.ts` 9, `src/markdown/parse/markdown-to-adf.test.ts` 8,
`MIGRATION.md` 7.
### 33. Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`.