- 
                Notifications
    
You must be signed in to change notification settings  - Fork 22
 
Performance issues
        Thomas Schouten edited this page Oct 23, 2024 
        ·
        2 revisions
      
    To run a profiler:
For the browser,
- Search (double shift) for Registry, and enable 
pdf.viewer.debug(you can search) - right-click on the pdf and open devtools, or search (double shift) for "Open DevTools"
 - Go to the performance tab
 - Start a recording
 - Reproduce the performance issue
 - Stop the recording
 - Click 'save profile'
 
For the backend, with a jvm profiler:
- Install VisualVM using your package manager or go to https://visualvm.github.io/
 - Start IntelliJ
 - Start VisualVM.
 - In the Applications panel on the left, identify the correct instance of IntelliJ
 - Go to the Sampler tab.
 - Click CPU to start profiling
 - Reproduce the performance issue
 - Stop the profiling
 - Take a Snapshot to view and save results.
 - Now you can zip the nps file and upload it here on GitHub.