cloudfoundry-community / splunk-firehose-nozzle

Send CF component metrics, CF app logs, and CF app metrics to Splunk
Apache License 2.0
29 stars 30 forks source link

JSON marshal performance issue #77

Open chenziliang opened 7 years ago

chenziliang commented 7 years ago

After doing performance benchmark, there is JSON marshaling performance issue in current code base. Need switch to easyjson like alternative.

chenziliang commented 7 years ago

The following flame graph shows json.Marshal takes too much CPU cycles

screen shot 2017-08-08 at 5 05 55 pm