NuxtJS is an open-source framework built on top of Vue.js that simplifies building modern, performant web applications with server-side rendering, static site generation, and a powerful module ecosystem.
Create a new plugin in your NuxtJS project: ./server/plugins/blackfire.ts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Add the following environment variable to control the continuous profiling:
BLACKFIRE_ENABLE=1.
Check the Node.js Continuous Profiling reference for all the configuration options.