Hi,

This was obviously a wrong alarm. Loading the OJ Plus version is for sure slow 
but it comes from some other component than VertexSymbols. I guess it might be 
Sextante but I must try it in a controlled way.

The reason to claim it was VertexSymbols is that the splash screen shows 
"Loading VertexSymbols" when the slow part is going on. Probably VertexSymbols 
is already loaded at that phase but the text remains in the splash screen and 
the next plugin that is loaded does not update the text on the screen.  I do 
not know if it is possible, but in this case if the VertexSymbol loader could 
update the text into "VertexSymbols installed successfully" we would know that 
it is OK even if the next plugin did not update the text into "Loading Sextante 
boundings" or something.

The Java window collects some log data
Loading fr.michaelm.jump.plugin.aggregation.AggregationExtension
Loading fr.michaelm.jump.bsheditor.BshEditorPlugInExtension
Loading fr.michaelm.jump.drivers.dxf.DXFDriverConfiguration
Loading fr.michaelm.jump.plugin.graph.GraphExtension

Could it be possible to enhance that to write out the result as"...Loaded in  
1234 milliseconds"?

-Jukka Rahkonen-
________________________________
Geoffrey Roy wrote:

> Dear ede and others

> If there is a problem with loading symbols then it will apply equally for the 
> VertexSymbols plugin and to the FillPattern plugin, as both used the same 
> in-line process for loading all symbols at startup.

> I have modified this process, in both plugins, to run in a separate thread so 
> it should not delay the completion of the initial OpenJump (GUI) setup.  I am 
> attaching trial versions of both plugins for testing.

> In these versions I have added a message window that opens after all the 
> images/etc are loaded displaying the number of images/symbols loaded and the 
> time taken.  These message windows will need to be dismissed (for testing 
> purposes only)

> Could those concerned with the delay on load please try these new versions 
> and let me know how you get on.  On my computer I get the following results:

  *   For VertexSymbols: 92 symbols takes 0.1 mSec
  *   For FillPattern: 161 images takes 2.4 mSec

> My first reaction is that these times are quite small and should not cause a 
> noticeable delay - but perhaps I am missing something.

> Thanks

> Geoff

On 10/02/2012 6:00 PM, edgar.sol...@web.de<mailto:edgar.sol...@web.de> wrote:

download
http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/1.5.1/OpenJUMP-1.5.1-r2721-PLUS.zip/download
under lib\ext\VertexImages you'll find what you are looking for.

..ede


On 10.02.2012 01:39, Geoffrey Roy wrote:


Dear ede

Would it be possible for me to get a a package of symbols large enough
to use as a test for loading?

thanks

Geoff

On 9/02/2012 6:16 PM, edgar.sol...@web.de<mailto:edgar.sol...@web.de> wrote:


Hey Geoff,

yes totally right. thanks for taking care of that. take your time. i'd suggest 
you to parallelize the loading during initialization, because a user waiting up 
to two minutes for a modal dialog might grow impatient.

regards ..ede

On 09.02.2012 00:40, Geoffrey Roy wrote:


Dear ede

OK, as I understand the issue - the VertexSymbols plugin loads all the symbols 
at startup and this causes an unacceptable delay - if there are many symbols - 
is this correct?

The suggestions are either:

  1. Load on demand (first load will take a little time), or
  2. Create a background thread to load the symbols

Am I right?

If  this is the case, then I will try to look at the issue - it may be 2 or 3 
weeks before I have the time.

Geoff


On 8/02/2012 6:50 PM, 
edgar.sol...@web.de<mailto:edgar.sol...@web.de><mailto:edgar.sol...@web.de><mailto:edgar.sol...@web.de>
  wrote:


yes.. it is included in the PLUS edition together with a quite big collection 
of symbols and seems to slow down the startup of the whole application. do you 
have time to have a look at that? should we provide you patches?

..thanks ede

On 08.02.2012 10:55, Geoffrey Roy wrote:


Dear  Ede

I have only been occasionally following the recent discussion - are you
referring to my VertexSymbols plugin - or to another

Geoff

On 8/02/2012 5:19 PM, 
edgar.sol...@web.de<mailto:edgar.sol...@web.de><mailto:edgar.sol...@web.de><mailto:edgar.sol...@web.de>
  wrote:


On 08.02.2012 08:48, Giuseppe Aruta wrote:


Note that VertexSymbology folder has a large number of geological symbols,which 
probabily are used only by me and few other users, among few other generic map 
symbols (park, airport, building etc): eventually we can distribute PLUS 
version with VertexPlugIn and few general symbology.


this should better be fixed within vertexsymbol extension (load symbols later 
when dialog is requested, or parallelized in a second thread in plugin's 
initialize method).

is the extension's author reading this? are you up to it?
if we'd do it, how do we get the changes upstream?

..ede



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net><mailto:Jump-pilot-devel@lists.sourceforge.net><mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-----
No virus found in this message.
Checked by AVG - 
www.avg.com<http://www.avg.com><http://www.avg.com><http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2112/4795 - Release Date: 02/07/12




--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Fax: (08) 9382 4459
Email: 
ge...@cadplan.com.au<mailto:ge...@cadplan.com.au><mailto:ge...@cadplan.com.au><mailto:ge...@cadplan.com.au>
http://www.cadplan.com.au





------------------------------------------------------------------------------
Virtualization&  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/



_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


------------------------------------------------------------------------------
Virtualization&  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-----
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2112/4799 - Release Date: 02/09/12




------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


-----
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2012.0.1913 / Virus Database: 2112/4800 - Release Date: 02/09/12





--
Dr Geoffrey G Roy
Cadplan
129 Gloster Street, Subiaco WA 6008
Tel: (08) 9381 4870  Fax: (08) 9382 4459
Email: ge...@cadplan.com.au<mailto:ge...@cadplan.com.au>
http://www.cadplan.com.au



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to