docusaurus/website/profileSamply.sh
Sébastien Lorber e839b67034
perf(core): disable Rspack parallelCodeSplitting temporarily (#11178)
Co-authored-by: slorber <749374+slorber@users.noreply.github.com>
2025-05-14 17:01:54 +02:00

6 lines
304 B
Bash
Executable file

#!/usr/bin/env bash
echo "This Samply profiling script doesn't work when it's run with Yarn, but you can run it manually instead"
samply record -- DOCUSAURUS_EXIT_AFTER_BUNDLING=true node --perf-prof --perf-basic-prof --interpreted-frames-native-stack ./node_modules/.bin/docusaurus build --locale en