kartik Krishna sharma
kartik Krishna sharma

Reputation: 63

how to increase performance of new created nextjs app in lighthouse

I have created a fresh Nextjs app and opened it in the Lighthouse browser, but its performance is too low. How to improve the following numbers

  1. Minimize main-thread work -- 9.1 s
  2. Reduce JavaScript execution time -- 4.5 s

See the screenshot of the new Nextjs app

enter image description here

Upvotes: -1

Views: 825

Answers (1)

Muhammad Shoaib Raza
Muhammad Shoaib Raza

Reputation: 101

Are you running the lighthouse in development mode? Run the in Production mode to verify the actual results. npm run build && npm run start

Upvotes: 2

Related Questions