Amazon CodeGuru Now Available |
Written by Sue Gee | |||
Thursday, 02 July 2020 | |||
Amazon CodeGuru is a developer tool powered by machine learning that can reveal the most expensive lines of code in your application and provides recommendations for improving code quality. Amazon has announced its general availability to all AWS customers. Initially showcased at last year's re:Invent conference, Amazon CodeGuru is a machine learning service for automated code reviews and application performance recommendations. Its headline claim is that it helps developers identify the most expensive lines of code in their applications, which it does by helping them understand their runtime behavior:
As we reported when CodeGuru was in preview, it has two components, a Reviewer that helps improve code quality by scanning for critical issues, identifying bugs, and recommending how to remediate them; and a Profiler that helps developers find an application’s most expensive lines of code along with specific visualizations and recommendations on how to improve code to save money. Now that it is generally available, devs can use Amazon CodeGuru Profiler to understand the runtime behavior of their applications, identify and remove code inefficiencies, improve performance, and significantly decrease compute costs. Profiler provides visualizations and recommendations on how to fix performance issues and the estimated cost of running inefficient code, helping developers prioritize remediation. It can be used to optimize performance for any application running on AWS Lambda, Amazon EC2, Amazon ECS, AWS Fargate, or AWS Elastic Beanstalk, and on-premise. For EC2, Containers, and on-premise applications, attach the profiler agent to your JVM and for Lambda Instantiate the agent inside your Lambda code with a one line change. To use Amazon CodeGuru for the purpose of code review, developers commit their code as usual to the repository of their choice (e.g. GitHub, GitHub Enterprise, Bitbucket Cloud, AWS CodeCommit) and add Amazon CodeGuru Reviewer as one of the code reviewers, with no other changes to the normal development process. Amazon CodeGuru Reviewer opens a pull request and automatically starts evaluating the code using machine learning models that have been trained on several decades of code reviews at Amazon.com and over ten thousand open-source projects on GitHub. In this video Jeff Barr, Chief Evangelist for Amazon Web Services outlines the benefits of using CodeGuru with the experiences of three companies that have been using it before its general availability, Atlassian, EagleDream and DevFactory: If you want to try Amazon CodeGuru there's a 90-day free trial in several AWS regions. Like AWS products in general you pay for usage. In the case of Amazon CodeGuru Reviewer, which will be set up on your source code repository to perform a scan for every source code pull request made on that repository, the charge is 75 cents ($0.75) per 100 lines of code analyzed. The charge for Amazon CodeGuru Profiler profiling on Amazon EC2 Instances and Amazon ECS, EKS, and AWS Fargate Containers the charge is half a cent ($0.005) per sampling hour for the first 36,000 sampling hours per profiling group per month, with no additional charge for excess sampling hours. For application profiling on AWS Lambda the first 500 sampling hours per payer account are free. After this the same terms apply. More InformationRelated ArticlesCode Guru For Automated Code Review To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Thursday, 02 July 2020 ) |