Question

In: Computer Science

Xcode’s instruments suite of tools provides a wide range of introspection into the behavior and performance...

Xcode’s instruments suite of tools provides a wide range of introspection into the behavior and performance of your code. What other tools in other languages are you familiar with for profiling? Compare and contrast the features of the toolkits.

Solutions

Expert Solution

profiling ("program profiling", "software profiling") is a form of dynamic program analysis that measures, for example, the space (memory) or time complexity of a program, the usage of particular instructions, or the frequency and duration of function calls. Most commonly, profiling information serves to aid program optimization.

Profiling is achieved by instrumenting either the program source code or its binary executable form using a tool called a profiler (or code profiler). Profilers may use a number of different techniques, such as event-based, statistical, instrumented, and simulation methods.

The following tools work for multiple languages or binaries:-

AQtime: SmartBear’s Profiling Optimization Solution:-

AQtime is SmartBear’s award-winning performance profiling and memory and resource debugging toolset for Microsoft, Borland, Java, Intel, Compaq and GNU compilers. AQtime includes dozens of productivity tools that help users easily isolate and eliminate performance, memory and resource issues within their code.

AQtime is built with one key objective - to help users completely understand how their programs perform during execution. Using its integrated set of performance and debugging profilers, AQtime collects crucial performance and memory/resource allocation information at runtime. It then delivers its profilers’ results both in summarized and detailed forms. In short, AQtime provides you with all of the tools you need to begin the optimization process, and provides the following advantages:

  1. Powerful & Cost Effective
  2. Minimal Intrusiveness:- AQtime never modifies source code. In fact, it always uses the least intrusive method to achieve the requested results.
  3. Easy to Use Interface: Developers don’t need to learn complex shell commands or proprietary programming languages to profile code with AQtime

  4. Easy to Understand Reports: Once a profiling session is complete, AQtime displays a summary report of its findings.

  5. Support for a Multitude of Environments:- AQtime supports a wide range of Windows versions including Windows 98, ME, 2000, NT 4.0, XP, Windows 2003 Server and Vista. Additionally, AQtime supports 32 and 64-bit chipsets from both AMD and Intel.

  6. Support for a Wide Array of Languages

    AQtime can profile code written in a wide variety of languages, including:

  • Microsoft Visual C#
  • Microsoft Visual Basic
  • Microsoft Visual J#
  • Microsoft C++
  • Borland C# Builder
  • Microsoft JScript .NET
  • Microsoft F#, Microsoft Visual F#
  • Embarcadero Delphi 2010, XE, XE2 and XE3
  • CodeGear Delphi 2007 and 2009
  • Borland Delphi for .NET
  • Borland Delphi 2005
  • Java
  • Intel C++
  • GNU Compiler Collection
  • Compaq Visual Fortran
  • A Variety of Metrics

GlowCode:-   

GlowCode is used by software developers to analyze and optimize application performance, speed and resource use. GlowCode capabilities include detection of performance bottlenecks and memory leaks.

While the profiled application runs, GlowCode shows the duration, frequency and use of function calls, and identifies which functions play the most significant role in time-intensive tasks, which execution nodes are the source of multiple memory leaks, and which allocations are the source of excessive consumption of memory and resources. GlowCode also identifies problems specific to managed code, including boxing errors, and hyperactive and loitering objects.

GlowCode profiles:

  • 64-bit and 32-bit code
  • Managed, native and mixed code
  • Code written in C, C++, C# or any .NET Framework-compliant language.

Arm MAP:-

Arm MAP, is an application profiler produced by Allinea Software now part of Arm. of Warwick, United Kingdom, for profiling the performance of C, C++, Fortran 90 and Python software. It is widely used for its multithreaded and multiprocess capabilities such as profiling parallel Message Passing Interface (MPI) or OpenMP applications, including those running on clusters of Linux machines, and for scalar (sequential) code.

It is one of the first profilers able to both analyze and visually display the performance when running at high scales (including many thousands of cores). Arm MAP is also being used to examine applications that are preparing to scale to 1 ExaFLOP/s

The profiler uses adaptive sampling methods to identify process counters and activities and combines data from multiple processes that may be running on multiple compute server nodes. It analyzes performance and causes of bottlenecks including:

  • Processor instruction level - identifying issues such as memory bandwidth, or lack of floating-point vectorization
  • Memory usage
  • I/O
  • Communication - such as MPI
  • Threads
  • Energy usage and power

This enables developers to identify hotspots and areas of potential improvement.

The tool is scalable - and merges performance data using the scalable architecture first used in Arm DDT to debug Petascale (typically over 100,000 processes). Arm MAP shares a common user interface with Arm DDT which together makes the Arm Forge tool suite. This is widely used by research scientists and developers of parallel scientific applications.

The Arm MAP profiler is used on large supercomputers and also smaller clusters or workstations.

Dynatrace:-

Dynatrace is a software intelligence company providing application performance management (APM), artificial intelligence for operations (AIOps), cloud infrastructure monitoring, and digital experience management (DEM), with products for the information technology departments and digital business owners of medium and large businesses. The company's services include performance management software for programs running on-premises and in the cloud. This software manages the availability and performance of software applications and the impact on user experience in the form of deep transaction tracing, synthetic monitoring, real user monitoring, and network monitoring. The company separated from Compuware in December 2014 after being sold into private equity firm Thoma Bravo establishing it as a standalone company.

Offered services:

  • Dynatrace - SaaS or Managed (Full-Stack or Cloud Infrastructure Only)
  • Application Performance Monitoring (Appmon)
  • Cloud infrastructure monitoring
  • AIOps
  • Digital experience management (Synthetic Monitoring, Real User Monitoring)

Related Solutions

A) There are a wide range of quantitative tools and techniques available to support the project...
A) There are a wide range of quantitative tools and techniques available to support the project management process. Describe each of these quantitative tools and techniques, including any limitations of each one. (B) What does it mean if the priorities of a project include: Time–constrain, Scope-accept and Cost–enhance? (C) Explain the linkages between the Work Breakdown Structure (WBS) and the Project Network.                                                                 (D) How does earned value give a clearer picture of project schedule and cost status when...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted trial balance as of December 31, 2018, appears below. December 31 is the company's fiscal year-end.         Accounts Debits Credits   Cash $ 9,300   Accounts Receivable 8,500   Supplies 1,500   Prepaid Rent 6,000   Equipment 75,000   Accumulated Depreciation $ 10,000   Accounts Payable 6,700   Salaries Payable 0   Interest Payable 0   Utilities Payable 0   Notes Payable 15,000   Common Stock 35,000   Retained Earnings 14,000   Service Revenue 45,000   Salaries Expense 23,500...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted trial balance as of December 31, 2018, appears below. December 31 is the company's fiscal year-end.   Accounts Debits Credits   Cash $ 10,300   Accounts Receivable 9,500   Supplies 2,000   Prepaid Rent 7,200   Equipment 90,000   Accumulated Depreciation $ 12,000   Accounts Payable 7,700   Salaries Payable 0   Interest Payable 0   Utilities Payable 0   Notes Payable 20,000   Common Stock 45,000   Retained Earnings 19,000   Service Revenue 42,200   Salaries Expense 24,500   Interest...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted...
Crimson Tide Music Academy offers lessons in playing a wide range of musical instruments. The unadjusted trial balance as of December 31, 2018, appears below. December 31 is the company's fiscal year-end.   Accounts Debits Credits   Cash $ 10,300   Accounts Receivable 9,500   Supplies 2,000   Prepaid Rent 7,200   Equipment 90,000   Accumulated Depreciation $ 12,000   Accounts Payable 7,700   Salaries Payable 0   Interest Payable 0   Utilities Payable 0   Notes Payable 20,000   Common Stock 45,000   Retained Earnings 19,000   Service Revenue 42,200   Salaries Expense 24,500   Interest...
The head start program provides a wide range of services to low-income children up to the...
The head start program provides a wide range of services to low-income children up to the age of 5 years and their families. Its goals are to provide services to improve social and learning skills and to improve health and nutrition status so that the participants can begin school on an equal footing with their more advantaged peers. The distribution of ages for participating children is as follows 12% five-year-olds, 47% four-year-olds, 33% three-year-olds, and 8% under three years. When...
3.      General Hospital provides a wide range of health services in its community. The board of directors...
3.      General Hospital provides a wide range of health services in its community. The board of directors has authorized the following capital expenditures:      Intra-aortic balloon pump                                          $1,400,000         Computed tomographic scanner                                   850,000         X-ray equipment                                                                550,000         Laboratory equipment                                                   1,200,000         Total                                                                                 $4,000,000 The expenditures are planned for October 1, 20X7, and the board wishes to know the amount of borrowing, if any, necessary on that date. Rebecca Singer, hospital controller,...
3.      General Hospital provides a wide range of health services in its community. The board of directors...
3.      General Hospital provides a wide range of health services in its community. The board of directors has authorized the following capital expenditures:      Intra-aortic balloon pump                                          $1,400,000         Computed tomographic scanner                                   850,000         X-ray equipment                                                                550,000         Laboratory equipment                                                   1,200,000         Total                                                                                 $4,000,000 The expenditures are planned for October 1, 20X7, and the board wishes to know the amount of borrowing, if any, necessary on that date. Rebecca Singer, hospital controller,...
3.      General Hospital provides a wide range of health services in its community. The board of directors...
3.      General Hospital provides a wide range of health services in its community. The board of directors has authorized the following capital expenditures:      Intra-aortic balloon pump                                          $1,400,000         Computed tomographic scanner                                   850,000         X-ray equipment                                                                550,000         Laboratory equipment                                                   1,200,000         Total                                                                                 $4,000,000 The expenditures are planned for October 1, 20X7, and the board wishes to know the amount of borrowing, if any, necessary on that date. Rebecca Singer, hospital controller,...
cognitive behavioral therapies provides for use of a wide range of techniques. What techniques might apply...
cognitive behavioral therapies provides for use of a wide range of techniques. What techniques might apply you apply to yourself? What techniques are you likely to incorporate in your work with clients?
• Describe the different tools in the MS Office suite and how they support business.
• Describe the different tools in the MS Office suite and how they support business.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT