Cut dependencies in half and remove previous similar protocol implementations. This reduces the execution time and amount of memory used by the client. We also optimized the internal structure of the query engine. Specifically the part responsible for converting and establishing a database connection when the query engine starts. Additionally we now defer generating strings for many type names in query mode which improves memory usage and significantly improves runtime performance. Additionally connection establishment and schema conversion now occur in parallel rather than sequentially as before. The chart after enabling the preview feature before we made these three changes is shown below. After making these three changes, response time was reduced by two-thirds. The request now leaves a very small footprint.
To zoom in and compare how these changes impact the first chart shows the impact of the wired protocol based on the before the impact of the wired protocol based on the following chart shows the perf photo editing servies ormance after we optimized the internals and reduced the runtime size to a smaller runtime and optimizations Inside Impact Try it out and share your feedback. We encourage you to upgrade to and look forward to hearing your feedback. This is a major version increment that brings some breaking changes. We expect that only a small number of users will be affected by these changes. But before upgrading we recommend that you review our upgrade guide to understand the impact on your applications.
If you encounter any errors please submit an issue or vote on the corresponding issue if it already exists. performance and will continue to deliver improvements that address performance-related issues. Be sure to follow us on so you don’t miss any updates Announcements Publish Prism Don’t miss the next post Subscribe to the newsletter Name Default Faster Alex Ruchni Alex Ruchni Ruchni Alex introduces some The changes make it significantly faster. These changes especially improve the experience of using it in a serverless environment thanks to the new more efficient Wire-based protocol used under the hood. Improved client launch performance From the start we doubled down on our efforts to improve performance and developer experience. In particular we focus on improving startup performance in serverless environments. In our quest to improve .