Hi team,

I'm comparing br cli performance vs plain curl commands and this is some of
the surprising results I'm seeing:

$ time br app myApp entity myEntity sensor > /dev/null

real    0m3.833s
user    0m0.008s
sys     0m0.010s

and

$ br login http://brooklyn:8081 user password
$ time curl -s -u user:password -X GET --header "Accept: application/json" "
http://brookyln:8081/v1/applications/myApp/entities/myEntity/sensors/current-state";
> /dev/null

real    0m0.400s
user    0m0.005s
sys     0m0.004s

I’d expect some slow down but not that much.

Is it something others are experiencing as well?

Best,
Andrea

Reply via email to