Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
0 replies
-
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
-
Updating to node v18.15 wasn't really smooth, which was also due to the terser configuration. This lead to the question: Is there a difference in terms of performance between a blank terser configuration and the complex options?
Many implementations use a terser configuration like the following:
vs.
Trying to update I developed sympathies with rollup, since it just worked with node v18.15. Is there a runtime performance difference between webpack and rollup?
The following table shows the results for the same react hooks implementations (react-hooks-v18.2.0) with the complex terser configuration, the minimal terser configuration (react-hooks-no-terser-magic-v18.2.0) and a version using rollup and the minimal terser configuration (react-hooks-rollup-v18.2.0):

The picture shows that the effect of the terser configuration and rollup can be ignored (at least for react).
Beta Was this translation helpful? Give feedback.
All reactions