Skip to main content

Challenge

Assessing application performance

2 Tasks

10 mins

Visible to all users
Intermediate Pega Platform 8.6 Performance English

Scenario

The Human Resources (HR) department has noticed that the open positions screen of the candidate case type has been loading the list of positions slowly for some users. Investigate the performance characteristics of the screen and implement improvements that will reduce the loading time of the positions.

The following table provides the credentials you need to complete the challenge.

Role User name Password
Senior System Architect SSA@TGB rules
Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

Challenge Walkthrough

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Establish the initial baseline performance with PAL

  1. In Dev Studio, create a new Candidate case.
    Note: Creating a new case prevents the first load from skewing performance results.
  2. In the footer of Dev Studio, on the Developer toolbar, click Performance to start the Performance Analyzer (PAL).
    developer-toolbar
  1. Click the Reset to set the counts to zero.
  2. Click Add reading to add a row of summary performance data.
    Add reading button
  3. In Dev Studio, create another new Candidate case.
  4. In the PAL window, click Add reading to add another row of summary performance data.
  5. Take a screen shot or make a note of the Server Elapsed and Total CPU numbers on the first Delta line, as shown in the following image.These values are the baseline performance of the Collect Personal Details screen.
Note: The Server Elapsed and Total CPU values may vary from the image below.
Screenshot of PAL readings before enhancements.
Tip: Take a screen capture of the PAL window as a way to document the performance values.

2 Enhance runtime performance

  1. In Dev Studio, click Data types > Position > List Position to open and edit the list position data page.
  2. In the Data page definition section, in the Scope list, select Requestor to prevent the data page from being created for every new Thread instance in the application, saving on memory space and processing time.
    Data page scope
  3. On the Load Management tab, in the Refresh strategy section, verify that the Reload once per interaction check box is cleared to ensure the data page stays in memory and is only refreshed if the information is older than one hour, the default reload time.
    Data page reload
  4. Save and close the data page rule.

Confirm your work

  1. In the footer of Dev Studio, on the Developer toolbar, click Performance to start the PAL tool.
  2. Click Reset to clear prior readings and initialize all counts to zero.
  3. Click Add reading to display a DELTA row.
  4. Create a new Candidate case.
  5. In the PAL window, click Add reading.
  6. Document the Server Elapsed and Total CPU values on the first DELTA row.
    PAL-after
  7. Compare the values between the original performance test and the new performance test to identify improvements.
  8. Verify that the Server Elapsed and Total CPU times are lower in the new performance test.


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice