Reseller News

AWS tool to find expensive lines of code enters general availability

Consists of Amazon CodeGuru Reviewer and Amazon CodeGuru Profiler

Amazon Web Services (AWS) has released Amazon CodeGuru into general availability in its Sydney region, allowing for users to find expensive lines of code and improve code quality, with claims of cutting operation costs by up to 50 per cent.

Consisting of Amazon CodeGuru Reviewer and Amazon CodeGuru Profiler, the new service is aimed at developers and utilises machine learning to find critical issues in code and recommend ways to save money on an application’s most expensive lines of code, respectively.

Swami Sivasubramanian, vice president of Amazon machine learning at AWS, said the service combines decades of Amazon's application development and deployment experience with machine learning expertise.

“Our customers develop and run a lot of applications that include millions and millions of lines of code. Ensuring the quality and efficiency of that code is incredibly important, as bugs and inefficiencies in even a few lines of code can be very costly," Sivasubramanian said.

Profiler assists developers through providing feedback on the runtime behaviour of applications in AWS Lambda, Amazon EC2, Amazon ECS, AWS Fargate and AWS Elastic Beanstalk, as well as on-premise.

This solution, according to AWS, can identify and remove code inefficiencies, with the cloud giant claiming that it can significantly decrease operational costs by as much as 50 per cent.

Meanwhile, Reviewer can be used to automatically flag common coding issues that are not considered best practices that are located in the repository of their choice by opening a pull request and evaluate the code through machine learning models.

CodeGuru is generally available in AWS’ Sydney region, as well as Singapore and Tokyo in Asia Pacific, North Virginia, Ohio and Oregon in the US and Ireland, London, Frankfurt and Stockholm in Europe.

The service is available in both free and paid tiers. At the free tier, users can receive full functionality of CodeGuru for 90 days.

At the paid tier, the cost of Profiler depends slightly on what AWS service the application is hosted on.

For Amazon EC2, Amazon ECS, EKS and AWS Fargate containers, pricing starts at US$0.005 per sampling hour for the first 36,000 sampling hours per profiling group per month, with no additional charges incurred for any additional sampling hours.

Meanwhile, AWS Lambda offers no charges for the first 500 sampling hours per payer account. After this, much like the other application hosts, the cost of US$0.005 per sampling hour for the first 36,000 sampling per profiling group per month is incurred next, with additional sampling hours past this offered at no cost.

Reviewer costs US$0.75 per 100 lines of code analysed.