> For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt.

# performance

Options for performance.

## performance.buildCache [![performance.buildCache](https://assets.rspack.rs/rsbuild/rsbuild-logo.svg)performance.buildCache](https://rsbuild.rs/config/performance/build-cache)
To enable or configure persistent build cache.

Rslib enables persistent build cache by default.

## performance.printFileSize [![performance.printFileSize](https://assets.rspack.rs/rsbuild/rsbuild-logo.svg)performance.printFileSize](https://rsbuild.rs/config/performance/print-file-size)
Whether to print the file sizes after build.

## performance.removeConsole [![performance.removeConsole](https://assets.rspack.rs/rsbuild/rsbuild-logo.svg)performance.removeConsole](https://rsbuild.rs/config/performance/remove-console)
Whether to remove `console.[methodName]` in build.
