Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"command": "uv run python -m pytest tests/e2e/jsonl_parse_speed_test.py tests/e2e/frontmatter_parse_speed_test.py tests/e2e/on_file_query_test.py tests/e2e/query_contract_test.py -x -q",
"ran_at": 1791768023,
"exit_code": 0,
"commit": "db8e06627eb807a3932ae3989ef662019a288ce1",
"branch": "bot/speed-parse-overlap-1011"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Changed**

- **A per-table command now starts parsing while the startup walk is still finding files.** A frontmatter table over 65,000 notes indexes about 5-15ms sooner on a loaded machine and about 15ms sooner on a restricted-CPU one. Output is unchanged.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Per-table commands start during the walk

#### Summary

A per-table `on_file` command is spawned as soon as the startup walk matches its first file, rather than after the walk ends. Rows and their content are unchanged; nothing breaks.

#### Required changes

_None._

#### Deprecations removed

_None._

#### Behavior changes without code changes

_None._

#### Verification

```bash
dirsql query "SELECT status, count(*) FROM notes GROUP BY status"
```

Prints the same rows as before, sooner on a large tree.
Loading
Loading