Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Seeing performance issues with higher outbound http client requests #639

@evanlucas

Description

@evanlucas

This is on node 8.9.4 and @google-cloud/[email protected]

7.2% seems a bit high to me?

The top of the JavaScript portion of the cpu profile looks like this:

[JavaScript]:
   ticks  total  nonlib   name
   3887    9.8%   10.0%  Builtin: KeyedLoadIC_Megamorphic
   3206    8.1%    8.2%  Builtin: KeyedStoreIC_Megamorphic
   2876    7.2%    7.4%  LazyCompile: *<anonymous> /opt/app/node_modules/lodash.merge/index.js:973:37

I'm thinking it is coming from https://github.com/GoogleCloudPlatform/cloud-trace-nodejs/blob/38d4673e433bc1ae156bf9d962c767ca0703ef7f/src/plugins/plugin-http.ts#L68 but could be wrong. I don't have it narrowed down to a reproducible test case yet, but I'm working on that now.

Metadata

Metadata

Labels

api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions