Replies: 2 comments 1 reply
-
So you're looking for decreasing in build time and not increasing, right? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi. Are you able to share your repo, or at least the build log output? 5000 pages is not particularly large, so the bottleneck might be something simple. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In general, its obvious that more memory and cpu you have on instance, the quicker builds you get. But I made tests on my quite big data source: 5000 rows in a plain Postgres table on different aws instances and saw no performance increase:
I run build process with
NODE_OPTIONS=--max-old-space-size=32000 gatsby build --verbose
I realise that its not a linear dependency I doubling cpu cores won't give me x2 boost. But Its a strange situation and I think that its a bottleneck somewhere in gatsbyjs core.
ps. memory usage doesn't exceeds 8GB
Beta Was this translation helpful? Give feedback.
All reactions