performance.profile

  • Type: boolean
  • Default: false

Whether capture timing information for each module, same as the profile config of Rspack.

Example

export default {
  performance: {
    profile: true,
  },
};

When enabled, Rspack generates a JSON file with some statistics about the module that includes information about timing information for each module.

Node.js Profiling

You can also analyze the overhead on the Node.js side, see Node.js Profiling.