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

Record the reading cost

This commit is contained in:
2026-10-09 14:51:01 +02:00
parent 14ec866bed
commit 4aa55e9ee1
2 changed files with 23 additions and 5 deletions
+17
View File
@@ -164,3 +164,20 @@ Read most (opens and searches):
- `ci.sh` 1
- `docs/decisions.md` 1
- `todo.md` 1
## Reading cost, chunk 58dfb54bf4df, finished 2026-10-09T12:40:40Z
320679 new input tokens before the first commit.
Read most (opens and searches):
- `src/markdown/portable/adf-to-portable-markdown.ts` 12
- `docs/decisions.md` 9
- `README.md` 7
- `CHANGELOG.md` 6
- `src/markdown/parse/markdown-to-adf.ts` 5
- `src/markdown/parse/portable-markdown-to-adf.test.ts` 5
- `todo.md` 5
- `src/markdown/portable/adf-to-portable-markdown.test.ts` 3
- `AGENTS.md` 2
- `package.json` 2
+6 -5
View File
@@ -120,11 +120,12 @@ three directories.
### 92. Lower the reading cost of the files a chunk reads most before its first commit.
The last five chunks' median is 97329 new input tokens before their first commit, the five before
them 66995. Read most over the last five, opens and searches: `README.md` 26, `docs/decisions.md`
23, `src/markdown/parse/markdown-to-adf.test.ts` 19, `todo.md` 17, `spec/flavour.md` 13,
`CHANGELOG.md` 10, `MIGRATION.md` 8, `src/markdown/parse/markdown-to-adf.ts` 7,
`src/conformance/commonmark-spec.test.ts` 6, `corpus/commonmark-spec/exceptions.json` 5.
The last five chunks' median is 178700 new input tokens before their first commit, the five before
them 68188. Read most over the last five, opens and searches: `docs/decisions.md` 32, `README.md`
31, `todo.md` 20, `src/markdown/parse/markdown-to-adf.test.ts` 19, `CHANGELOG.md` 15,
`spec/flavour.md` 13, `src/markdown/parse/markdown-to-adf.ts` 12,
`src/markdown/portable/adf-to-portable-markdown.ts` 12, `MIGRATION.md` 8,
`src/conformance/commonmark-spec.test.ts` 6.
### 89. Build a `date`, `emoji`, `inlineCard`, `mention` or `status` holding no mark Atlassian's schema withholds from it, in every reader.