View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015103ParaView(No Category)public2014-11-05 08:322016-08-12 09:59
ReporterVadim SANDLER 
Assigned ToTristan Coulange 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version 
Summary0015103: Major performance issue on GUI side of ParaView
DescriptionIn the attached archive MKWReader.tar.gz a dummy small reader plug-in to highlight the problem of performance we meet in our reader plug-in.
After investigation, the problem of performance we meet is client side when the number of entries in a tree is ~4000 elements (instances of linked pqTreeWidgetItemObject).

A brief description of this small Plugin: it reads a dummy file with *.mkw extension containing an unsigned integer; this file (in the Doc directory) is called OneIntegerFile.mkw.

The example reader generates a server side unstructured grid containing just one cell (to show that the server side is particularly light ) and a field array called "FakeField" containing a single component, the unique value of the field is specified on the client side. On the client side, there is a list of <nb_of_value_in_mkw_file> pqTreeWidgetItemObject objects in the tree view "Select a value for your field on VTK_QUAD".

THE PROBLEM: the ellapsed time needed to have a rendering is quite big (the moment between we click on "Apply" and the time to have the rendering of the single cell):

1000 items in browser : ~3 s
2000 items in browser : ~12 s
4000 items in browser : ~44 s

Another problem is the reactivity of the tree with 4000 items. Each click in the tree takes 1 second. We remark that all the time is spent on the Client-side, more especially in the GUI part of paraview.

We need thousands of items in our real reader plug-in, consequently such amount of time is blocking for us.
TagsNo tags attached.
ProjectParaViS
Topic Name
Typeperformance
Attached Filesgz file icon MKWReader.tar.gz [^] (12,520 bytes) 2014-11-05 08:32
patch file icon 0001-PERF-Performance-tweak-in-pqSMAdaptor-setSelectionPr.patch [^] (3,931 bytes) 2014-12-04 17:42 [Show Content]

 Relationships

  Notes
(0033896)
Utkarsh Ayachit (administrator)
2014-12-04 17:42

I'd suggest getting rid of the custom panel pqMKWReaderPanel. pqMKWReaderPanel is an old style panel (subclass of pqProxyPanel) which is not going to be supported in future versions of ParaView. By simply commenting out the ADD_PARAVIEW_OBJECT_PANEL(...) in the Source/ParaViewPlugin/CMakeLists.txt file, I got the a working default panel which does not exhibit this behavior.

Attached is a patch that further improves the performance ever so slightly. Note, the patch still has no effect when using the old style panels.
(0033943)
Vadim SANDLER (reporter)
2014-12-12 03:27

Hello Utkarsh,

I am wondering to know is it planned to support customized panel of plug-ins in the future versions of the paraview?

If yes then, could you please explain how to build a good customized panel for plug-in with a good performance when there are 1000s of widgets interacting with servermanager?


The matter is that we don't want the default generated panel because we want widgets to interact with complex properties of our plug-in.

Thanks in advance,
Roman.
(0033944)
Utkarsh Ayachit (administrator)
2014-12-12 07:59

Vadim,

No, pqObjectPanel and subclasses are going to disappear in very near future (4.4).

Have you checked this out: http://www.paraview.org/Wiki/ParaView/Properties_Panel [^]

The new mechanism is quite flexible for eg. even the Color Map Editor panel is simply an auto-generated panel with custom widgets for complex properties. You can still write custom property widgets for properties or groups of properties. Any reason why the complex properties cannot be handle by custom property widgets?

Utkarsh
(0038703)
Kitware Robot (administrator)
2016-08-12 09:59

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2014-11-05 08:32 Vadim SANDLER New Issue
2014-11-05 08:32 Vadim SANDLER Assigned To => Tristan Coulange
2014-11-05 08:32 Vadim SANDLER File Added: MKWReader.tar.gz
2014-12-03 10:19 Joachim Pouderoux Status backlog => active development
2014-12-04 17:42 Utkarsh Ayachit File Added: 0001-PERF-Performance-tweak-in-pqSMAdaptor-setSelectionPr.patch
2014-12-04 17:42 Utkarsh Ayachit Note Added: 0033896
2014-12-12 03:27 Vadim SANDLER Note Added: 0033943
2014-12-12 07:59 Utkarsh Ayachit Note Added: 0033944
2016-08-12 09:59 Kitware Robot Note Added: 0038703
2016-08-12 09:59 Kitware Robot Status active development => closed
2016-08-12 09:59 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team