Company
Date Published
Author
Dan Giordano
Word count
1243
Language
English
Hacker News points
None

Summary

Gatsby has partnered with New Relic to launch the gatsby-build-newrelic plugin, which is designed to measure and improve the build performance of Gatsby sites by exporting logs, traces, and metrics into New Relic. This tool aids in identifying performance issues related to website plugins, third-party APIs, and other components, thus enabling developers to optimize build times and site efficiency. The plugin, currently in Beta, offers users insights into which APIs, plugins, and code changes impact build performance, while also allowing for the tracking of plugin efficiency and build duration through a customizable dashboard. New Relic's own documentation site, which is one of the largest Gatsby sites with over 8,000 markdown files, highlights the plugin's effectiveness by demonstrating substantial build time reductions through targeted optimizations such as the removal of @babel/generator, resulting in a 25% decrease in build times. Developers are encouraged to use the plugin, available via Gatsby Cloud, to evaluate their cloud providers and optimize their Gatsby site builds, with a promotional incentive of a power bank giveaway for those who share their dashboard results on social media.