Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,962
    • Issues 1,962
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 98
    • Merge requests 98
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #19681
Closed
Open
Issue created Feb 13, 2020 by Mathieu Westphal@mwestphalMaintainer

LoadPlugin bad performance compared to PV_PLUGIN_PATH

Initally reported here : https://discourse.paraview.org/t/performance-issue-with-loadplugin-ttk-module/2126/2

LoadPlugin method has bad performance, especially compared to PV_PLUGIN_PATH.

Steps to reproduce

  • build paraview with python and LagrangianParticleTracker plugin
  • write the following in a plugin.py python script
from paraview.simple import *
LoadPlugin("/path/to/pv/build/lib/paraview-5.7/plugins/LagrangianParticleTracker/LagrangianParticleTracker.so", ns=globals())
LagrangianParticleTracker
  • time for i in {1..10}; do ./bin/pvpython ~/path/to/plugin.py; done -> 30s on my computer
  • Comment the LoadPlugin line in plugin.py
  • time for i in {1..10}; do PV_PLUGIN_PATH=/path/to/pv/build/lib/paraview-5.7/plugins/LagrangianParticleTracker/ ./bin/pvpython ~/path/to/plugin.py; done -> 17s on my computer
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking