Add a benchmark command
This command measures the speed of parsing each grammar's examples. It also uses each grammar to parse all of the *other* grammars' examples in order to measure error recovery performance with fairly large files.
This commit is contained in:
parent
298228d8de
commit
17bc3dfaf7
11 changed files with 191 additions and 11 deletions
|
|
@ -88,6 +88,7 @@ char *ts_node_string(TSNode, const TSDocument *);
|
|||
bool ts_node_eq(TSNode, TSNode);
|
||||
bool ts_node_is_named(TSNode);
|
||||
bool ts_node_has_changes(TSNode);
|
||||
bool ts_node_has_error(TSNode);
|
||||
TSNode ts_node_parent(TSNode);
|
||||
TSNode ts_node_child(TSNode, uint32_t);
|
||||
TSNode ts_node_named_child(TSNode, uint32_t);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue