You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have got a big application to build with gatsby,
i constated a build much more slower still i ve got updated my gatsby, (it's not related to the last version but the logger to use), i found out that the cause is the logger
I checked that if i force gatsby to use the logger yurnalist instead by default Ink that gatsby-cli select, my application build in 30sec less time!
AS well in all my scrappy code i use lot of console.log that slow down the logger and the time spent to build... ok certainly console.log is not the best way to log, but everybody use that.
Certainly will be great to check and benchmark that as a build time is important for an user, maybe put in default yurnalist?
The text was updated successfully, but these errors were encountered:
…his way
This change explicitly throttles the progress bar updates (`tick` and `total`) to be clamped to 10 fps max.
This drops the govbook benchmark from 210 seconds down to 140 seconds.
Fixes#15505Fixes#17452Fixes#17966Fixes#18801
Relates to #17873
Relates to vadimdemedes/ink#212
…19866)
* perf(gatsby-cli): throttle progress bar, build significantly faster this way
This change explicitly throttles the progress bar updates (`tick` and `total`) to be clamped to 10 fps max.
This drops the govbook benchmark from 210 seconds down to 140 seconds.
Fixes#15505Fixes#17452Fixes#17966Fixes#18801
Relates to #17873
Relates to vadimdemedes/ink#212
* Force flush on done() and use local var for total
I have got a big application to build with gatsby,
i constated a build much more slower still i ve got updated my gatsby, (it's not related to the last version but the logger to use), i found out that the cause is the logger
I checked that if i force gatsby to use the logger yurnalist instead by default Ink that gatsby-cli select, my application build in 30sec less time!
AS well in all my scrappy code i use lot of console.log that slow down the logger and the time spent to build... ok certainly console.log is not the best way to log, but everybody use that.
Certainly will be great to check and benchmark that as a build time is important for an user, maybe put in default yurnalist?
The text was updated successfully, but these errors were encountered: