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:
@@ -368,3 +368,20 @@ Read most (opens and searches):
|
||||
- `src/conformance/adf-schema.test.ts` 3
|
||||
- `src/markdown/parse/inline-content.ts` 3
|
||||
- `corpus/round-trip/combinations/link-definition-directive.md` 2
|
||||
|
||||
## Reading cost, chunk f98651837536, finished 2026-10-14T18:16:11Z
|
||||
|
||||
159948 new input tokens before the first commit.
|
||||
|
||||
Read most (opens and searches):
|
||||
|
||||
- `todo.md` 9
|
||||
- `README.md` 6
|
||||
- `CHANGELOG.md` 2
|
||||
- `docs/decisions.md` 2
|
||||
- `AGENTS.md` 1
|
||||
- `converter-comparison/compare.mjs` 1
|
||||
- `converter-comparison/run.sh` 1
|
||||
- `docker-runner.sh` 1
|
||||
- `package.json` 1
|
||||
- `tsconfig.build.json` 1
|
||||
|
||||
@@ -132,12 +132,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 168135 new input tokens before their first commit, the five before
|
||||
them 97329. Files read most over the last five chunks, counting opens and searches:
|
||||
`docs/decisions.md` 28, `README.md` 27, `todo.md` 26, `CHANGELOG.md` 20,
|
||||
`src/markdown/parse/blocks.ts` 15, `src/markdown/portable/adf-to-portable-markdown.ts` 12, `spec/flavour.md` 10,
|
||||
`src/markdown/parse/portable-markdown-to-adf.test.ts` 10, `src/markdown/emit/line-escaping.ts` 9,
|
||||
`src/markdown/parse/markdown-to-adf.test.ts` 8.
|
||||
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.
|
||||
|
||||
### 33. Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user