little-summer-88406
07/12/2024, 8:19 AMdelightful-monkey-90700
07/12/2024, 1:16 PMpulumi preview
takes 20s
Running pulumi preview --logtostderr --verbose 3 --logflow --diff
I can see that there is some slowness at the start while it's apparently reading all the "package.json" files within the "node_modules" directory, and then some slowness moving things over RPC between various providers (which probably have some startup latency of their own)delightful-monkey-90700
07/12/2024, 1:20 PM0712 08:16:44.320145 2438504 eventsink.go:59] Invoking function: tok=gcp:projects/getProject:getProject asynchronously
...
0712 08:16:52.926807 2438504 eventsink.go:59] Invoke RPC finished: tok=gcp:projects/getProject:getProject; err: null, resp: filter,,,projectId:...
which is an input required for the GCP provider, and so holds up a lot of the show during that 8s waiting