Book Image

Testing Practitioner Handbook

By : Renu Rajani
Book Image

Testing Practitioner Handbook

By: Renu Rajani

Overview of this book

The book is based on the author`s experience in leading and transforming large test engagements and architecting solutions for customer testing requirements/bids/problem areas. It targets the testing practitioner population and provides them with a single go-to place to find perspectives, practices, trends, tools, and solutions to test applications as they face the evolving digital world. This book is divided into five parts where each part explores different aspects of testing in the real world. The first module explains the various testing engagement models. You will then learn how to efficiently test code in different life cycles. The book discusses the different aspects of Quality Analysis consideration while testing social media, mobile, analytics, and the Cloud. In the last module, you will learn about futuristic technologies to test software. By the end of the book, you will understand the latest business and IT trends in digital transformation and learn the best practices to adopt for business assurance.
Table of Contents (56 chapters)
Testing Practitioner Handbook
Credits
About the Author
Acknowledgement
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
Index

Performance bottlenecks – key challenges and solutions


A bottleneck can be any factor that prevents the system from meeting the performance target; it is a resistance to the flow of data. Bottleneck can be within any layer of the technology stack or the infrastructure. The bottlenecks in application layers can pertain to objects/methods. The bottlenecks at database level can pertain to queries and locks. The hardware bottlenecks relate to processor, IO layer, memory, and network layer.

Two major performance problems in Java applications include excess creation of objects or excess collection of garbage.

Objects need to be created before they can be used and garbage should be collected when they are finished with.

The more objects you use, the more garbage-cycling happens, the CPU cycle wasted

Each object creation is roughly as expensive as a malloc in C, or a new in C++, and there is no easy way of creating many objects together, so you cannot take advantage of efficiencies you get using bulk...