tree-sitter/lib/binding_web/test
Amaan Qureshi 3f424c0121 feat: add an API to time out query executions
Currently, if a predicate is hard to match on the Rust side, a sizable
query against a very large file can take forever, and ends up hanging.
This commit adds an API function `ts_query_cursor_set_timeout_micros` to
limit how long query execution is allowed to take, thereby negating the
chance of a hang to occur.
2024-08-31 14:33:28 -04:00
..
helper.js feat(cli)!: add a separate build command to compile parsers 2024-03-17 05:36:30 -04:00
language-test.js fix(wasm): update test 2024-06-03 12:42:25 +02:00
node-test.js feat(wasm)!: keep API in-line with upstream and start aligning with node 2024-03-10 03:02:17 -04:00
parser-test.js refactor(js): misc fixes & tidying 2024-04-11 22:35:43 -04:00
query-test.js feat: add an API to time out query executions 2024-08-31 14:33:28 -04:00
tree-test.js refactor(js): misc fixes & tidying 2024-04-11 22:35:43 -04:00