-
Notifications
You must be signed in to change notification settings - Fork 40
Simple timecheck jsonpath native
changseok han edited this page Mar 17, 2019
·
4 revisions
Simple time check with dchester/jsonpath
jsonpath
is dchester/jsonpath jsonpath-rs
is freestrings/jsonpath's native addon for NodeJs
- NodeJS: 11.0
$..book[?(@.price<30 && @.category==fiction)] (loop 100000)
Rust - select:
real 0m1.593s
user 0m1.593s
sys 0m0.000s
NodeJs - jsonpath - query:
real 0m5.774s
user 0m6.231s
sys 0m0.061s
NodeJs - jsonpath-rs - select:
real 0m5.400s
user 0m5.598s
sys 0m0.044s
Rust - selector:
real 0m1.185s
user 0m1.184s
sys 0m0.001s
Rust - compile:
real 0m1.900s
user 0m1.900s
sys 0m0.000s
NodeJs - jsonpath - query:
real 0m6.081s
user 0m6.547s
sys 0m0.061s
NodeJs - jsonpath-rs - selector:
real 0m3.283s
user 0m3.501s
sys 0m0.016s
NodeJs - jsonpath-rs - compile:
real 0m5.109s
user 0m5.321s
sys 0m0.028s