Fix bench script; Update highlight queries
This commit is contained in:
parent
49a219f764
commit
dec9e70e4f
@ -11,7 +11,7 @@ hyperfine \
|
|||||||
--shell none \
|
--shell none \
|
||||||
--parameter-list data_path examples/assets/seaCreatures.json,examples/assets/jq_data.json,dielectron.json \
|
--parameter-list data_path examples/assets/seaCreatures.json,examples/assets/jq_data.json,dielectron.json \
|
||||||
--warmup 3 \
|
--warmup 3 \
|
||||||
"dust -c '(length (from_json input))' -p {data_path}" \
|
"dust -c 'length(from_json(input))' -p {data_path}" \
|
||||||
"jq 'length' {data_path}" \
|
"jq 'length' {data_path}" \
|
||||||
"node --eval \"require('node:fs').readFile('{data_path}', (err, data)=>{console.log(JSON.parse(data).length)})\"" \
|
"node --eval \"require('node:fs').readFile('{data_path}', (err, data)=>{console.log(JSON.parse(data).length)})\"" \
|
||||||
"nu -c 'open {data_path} | length'"
|
"nu -c 'open {data_path} | length'"
|
||||||
|
@ -39,7 +39,6 @@
|
|||||||
"else"
|
"else"
|
||||||
"false"
|
"false"
|
||||||
"float"
|
"float"
|
||||||
"fn"
|
|
||||||
"for"
|
"for"
|
||||||
"if"
|
"if"
|
||||||
"in"
|
"in"
|
||||||
@ -50,6 +49,8 @@
|
|||||||
"str"
|
"str"
|
||||||
"true"
|
"true"
|
||||||
"while"
|
"while"
|
||||||
|
"->"
|
||||||
|
"=>"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
(built_in_function) @function.builtin
|
(built_in_function) @function.builtin
|
||||||
|
Loading…
Reference in New Issue
Block a user