This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Try to use ujson instead of json #625
Closed
Description
I found the low proformance of library json.
There are about 1441440 data in my single series.
When I try to query select host,last(value) from node_cpu group by host
, I found it is ultra slow to parse the json body in the response. It takes me about 30s to solve the query.
When I modified the source code, using library ujson instead of json, I found it is ultra fast to parse the http response.
Here is the patchfile
Metadata
Metadata
Assignees
Labels
No labels