deploy_feedback icon indicating copy to clipboard operation
deploy_feedback copied to clipboard

[Bug]: [google-cloud/storage] isolate start time take a long time after using NPM

Open ynwd opened this issue 2 years ago • 2 comments

Problem description

Before using NPM @google-cloud/storage, the load time was very fast.

After using NPM, the load takes a long time. More than 1 second.

Is there any info to solve it?

Steps to reproduce

just include npm specifier on deps.ts file.

export { Storage } from "npm:@google-cloud/[email protected]";

Expected behavior

Loading times are still fast when using npm specifier.

Environment

No response

Possible solution

No response

Additional context

No response

ynwd avatar Sep 21 '23 09:09 ynwd

Without NPM:

isolate start time: 619.82 ms

After using NPM:

isolate start time: 26.48 s

cc: @lucacasonato

ynwd avatar Oct 01 '23 00:10 ynwd

We're still working on this.

lucacasonato avatar Oct 06 '23 12:10 lucacasonato