/
githubmirror
/
tailwindcss
Обзор
Документация
Войти
/
githubmirror
/
tailwindcss
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v3.4.18
perf/script.sh
15 строк
521 B
Robin Malfait
add perf utils
18 авг 2020, 15:21
18 авг 2020, 15:21
4b15b90
Код
Авторство
О чём код?
# Cleanup existing perf stuff rm isolate-*.log # Ensure we use the latest build version npm run babelify # Run Tailwind on the big fixture file & profile it node --prof lib/cli.js build ./perf/fixture.css -c ./perf/tailwind.config.js -o ./perf/output.css # Generate flame graph node --prof-process --preprocess -j isolate*.log > ./perf/v8.json # Now visit: https://mapbox.github.io/flamebearer/ # And drag that v8.json file in there! # You can put "./lib" in the search box which will highlight all our code in green.