mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-12 19:58:28 +01:00
Record the reading cost
This commit is contained in:
@@ -198,3 +198,20 @@ Read most (opens and searches):
|
||||
- `src/markdown/parse/markdown-to-adf.test.ts` 5
|
||||
- `src/markdown/emit/adf-to-markdown.ts` 4
|
||||
- `src/conformance/markdown-property.test.ts` 3
|
||||
|
||||
## Reading cost, chunk 268926753bdb, finished 2026-10-10T09:02:04Z
|
||||
|
||||
174429 new input tokens before the first commit.
|
||||
|
||||
Read most (opens and searches):
|
||||
|
||||
- `src/markdown/emit/line-escaping.ts` 9
|
||||
- `docs/decisions.md` 7
|
||||
- `src/markdown/directive-syntax.ts` 5
|
||||
- `todo.md` 5
|
||||
- `src/markdown/parse/inline-content.ts` 4
|
||||
- `README.md` 3
|
||||
- `spec/flavour.md` 3
|
||||
- `src/markdown/commonmark/grammar.ts` 3
|
||||
- `src/markdown/directive-syntax.test.ts` 3
|
||||
- `src/markdown/portable/conventions.ts` 3
|
||||
|
||||
@@ -129,10 +129,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: `README.md` 32, `docs/decisions.md`
|
||||
31, `src/markdown/parse/markdown-to-adf.test.ts` 24, `todo.md` 22, `CHANGELOG.md` 19,
|
||||
`spec/flavour.md` 19, `MIGRATION.md` 12, `src/markdown/parse/markdown-to-adf.ts` 12,
|
||||
`src/markdown/portable/adf-to-portable-markdown.ts` 12, `src/markdown/parse/blocks.ts` 7.
|
||||
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.
|
||||
|
||||
### 33. Emit a line in time linear in its mark runs, in `adfToLosslessMarkdown` and `adfToPortableMarkdown`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user