[jbosstools-dev] JBDS/Eclipse performance update

Max Rydahl Andersen manderse at redhat.com
Wed Jun 3 10:39:13 EDT 2015


On 3 Jun 2015, at 16:07, Rastislav Wagner wrote:

> Yes, i read the email. Sorry for not responding earlier-

no worry - I think something changed recently so my own emails aren't 
listed when searching ;/

> I thought that trying this would be faster - but I was fighting with 
> XML Catalog. Its a strange "beast".

it definitely is ;)

> So I picked this file for testing [1] and added w3 schemes to catalog 
> and validation time went down from 5-6s to 1s.
>
> [1]https://goo.gl/yrycT2

Thats significant!

And you don't see eclipse cache its prefetched items ? I was sure it did 
cache that at some point.

So sounds like we got two bugs, one we can handle on our own ( but 
should submit upstream ) and another that needs fix upstream most 
likely.

1) find common used catalog/schemas from w3c we use in 
examples/quickstarts etc. and add to our catalog, and submit patch to 
wtp to add to theirs (might be an license issue here though we need to 
check ;/

2) figure out why wtp xml is not caching prefetched images.

/max

>
>
>
> Rastislav Wagner
> JBDS QA
> irc: rawagner
>
> Red Hat Czech
> Purkynova 99, 612 00 Brno, Czech Republic
>
> ----- Original Message -----
>> From: "Max Rydahl Andersen" <manderse at redhat.com>
>> To: "Mickael Istria" <mistria at redhat.com>
>> Cc: jbosstools-dev at lists.jboss.org
>> Sent: Wednesday, June 3, 2015 1:36:51 PM
>> Subject: Re: [jbosstools-dev] JBDS/Eclipse performance update
>>
>> Seems my mail got lost somewhere.
>>
>> Good findings, and yes I agree with Mickael it looks like it iis just
>> about adding the most common files to the catalog but before we do so
>> lets
>> just add them manually and test if they make a difference.
>>
>> Can you try that Rastislav ?
>>
>> Thanks,
>> Max
>>
>>> On 06/02/2015 04:51 PM, Rastislav Wagner wrote:
>>>> Hi all,
>>>> I noticed that WSDL validation is a bit slow when wsld file 
>>>> contains
>>>> references to www.w3.org probably due to [1]. Bug for eclipse is
>>>> already created and is a bit old [2]. I've commented there but no
>>>> response yet.
>>>> I dont know if any part of JBT/JBDS is doing something with w3.org,
>>>> if yes, than you could consider doing something to minimize 
>>>> requests
>>>> to w3.org servers.
>>> It seems to be only a matter of providing the necessary catalog
>>> extension (extension point is
>>> org.eclipse.wst.xml.core.catalogContributions). Maybe you could 
>>> submit
>>> a patch for that
>>> But it's most likely too late to contribute that to Eclipse XML
>>> support for Mars, so even with a patch upstream, we'd need to have a
>>> local fix if we want it to behave better with JBT/JBDS. So it's 
>>> worth
>>> opening a Jira and adding necessary DTD and XSD in JBT as well.
>>> --
>>> Mickael Istria
>>> Eclipse developer at JBoss, by Red Hat <http://www.jboss.org/tools>
>>> My blog <http://mickaelistria.wordpress.com> - My Tweets
>>> <http://twitter.com/mickaelistria>
>>> _______________________________________________
>>> jbosstools-dev mailing list
>>> jbosstools-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>
>>
>> /max
>> http://about.me/maxandersen
>> _______________________________________________
>> jbosstools-dev mailing list
>> jbosstools-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>>


/max
http://about.me/maxandersen


More information about the jbosstools-dev mailing list