Skip to main content

Assessing application performance

2 Tareas

10 minutos

Visible para: All users Applies to: Pega Platform '24.2
Intermedio
Low-Code App Development
Performance
Inglés
Verify the version tags to ensure you are consuming the intended content or, complete the latest version.

Escenario

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 pega123!
Nota: 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.

Debe iniciar su propia instancia de Pega para completar este Reto.

La inicialización puede demorar hasta 5 minutos. Le pedimos que tenga paciencia.

Recorrido del Reto

Tareas detalladas

1 Establish the initial baseline performance with PAL

  1. In the Pega instance for the challenge, enter the following credentials:
    1. In the User name field, enter SSA@TGB.
    2. In the Password field, enter pega123!.
  2. In Dev Studio, create a new Candidate case.
    Nota: Creating a new case prevents the first load from skewing performance results.
  3. 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.
Nota: 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.

Este Reto es para practicar lo aprendido en las siguientes Módulos:


Disponible en la siguiente misión:

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

¿Le ha resultado útil este contenido?

¿Quiere ayudarnos a mejorar este contenido?

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