According to the official press release of Google Go language, the Go language development team has recently improved the trace function of the running environment, claiming that it can reduce the CPU load to 1% of the original, and also added Continuous tracking and recording (Flight Recording) function.
▲ Picture source Google official press release
The Go language’s runtime environment tracker function (runtime/trace) is designed to help developers sort out projects. This function allows developers to visually track various processes in the project . Developers can also track each process in each process. Add specific annotations to monitor analysis projects in more detail.
In addition, the development team mentioned that in previous Go language versions, using the tracing function would cause excessive CPU load, but now the development team has reduced the CPU overhead to 1-2% of the original by “optimizing backtracing efficiency” . In this way, the development team Users can frequently use the tracking function to monitor and diagnose projects without having a significant impact on the performance of their equipment.
In the latest Go language version, users can also use the continuous tracking recording (Flight Recording) function, which allows the IDE to continuously track the project process in the background. It also provides a new tracking reading API to make it easier for developers Get tracking data.
For more such interesting article like this, app/softwares, games, Gadget Reviews, comparisons, troubleshooting guides, listicles, and tips & tricks related to Windows, Android, iOS, and macOS, follow us on Google News, Facebook, Instagram, Twitter, YouTube, and Pinterest.