Skip to content
Merged
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"command": "uv run python -m pytest tests/e2e/glob_speed_depth_bound_test.py tests/e2e/glob_speed_one_level_test.py tests/e2e/glob_speed_recursive_test.py tests/e2e/glob_speed_matchers_test.py tests/e2e/glob_speed_dotfiles_test.py tests/e2e/glob_speed_gitignore_test.py tests/e2e/glob_speed_node_modules_test.py tests/e2e/glob_speed_symlink_test.py tests/e2e/query_contract_test.py tests/e2e/fanout_test.py tests/e2e/use_case_join_test.py -q -s",
"ran_at": 1792409702,
"exit_code": 0,
"commit": "f500062c3a69da8d29e351d1a5580cff8f5af696",
"branch": "bot/1477-onelevel-speed-1016"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Changed**

- **Rows of a wide directory start sooner.** A directory of more than 8192 entries is judged in parts, spread across the cores, and each part's rows go out as soon as it and the parts before it are done. Before, nothing went out until the whole directory had been judged. `./*/*.md` over a tree of wide directories gets faster. Output and its order are unchanged.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Rows of a wide directory start sooner

#### Summary

A wide directory is judged in parts, and each part's rows go out as soon as it and the parts before it are done. Query results and their order are unchanged; nothing breaks.

#### Required changes

_None._

#### Deprecations removed

_None._

#### Behavior changes without code changes

_None._

#### Verification

```bash
dirsql query "SELECT path FROM './*/*.md'"
```

This prints the same rows as before, sooner.
Loading
Loading