[jbosstools-dev] Performance test results for org.jboss.tools.jsf.test plugin
Andersen Max
max.andersen at redhat.com
Tue Apr 6 14:58:17 EDT 2010
don't know anything specific to TPTP but if this method is called often then cumulative code will be high.
I guess the question is why the average is so high for it.
Maybe this method is triggering jit compilation and skews the results ?
Just guessing...
/max
On Apr 6, 2010, at 20:24, Denis Golovin wrote:
> I've made a try to get performance report for org.jboss.tools.common.model.* classes and run org.jboss.tools.jsf.test plug-in in TPTP with Execute Time Analysis.
>
> Below the report I've got for top ten methods for cumulative time. Note line 5 about XJob.belongsTo(java.lang.Object). It is interesting that this method is simple like this:
>
>
> public final boolean belongsTo(Object family) {
> return family == FAMILY_XJOB;
> }
>
>
> Does anyone aware of any issues about TPTP which would be related to wrong calculation for Cumulative method Execution time?
>
> I noticed that the less memory left in heap the higher cumulative execution time for this method. Without JUnit tests optimization I was not able to measure performance at all it just fails with OutOfMemoryException.
>
>
>
> Thanks
> Denis
>
> P.s. here is report
>
> Execution Statistics - org.eclipse.equinox.launcher.Main at dgolovin-desktop [ PID: 6394 ]
> Method
> Class Package <Base Time (seconds) Delta : Base Time (seconds) Average Base Time (seconds) Cumulative Time (seconds) Delta : Cumulative Time (seconds) Calls Delta : Calls
> setAttributeValue(java.lang.String, java.lang.String) java.lang.String
> XModelObjectImpl org.jboss.tools.common.model.impl 22.074818 1.631869 0.000675 204.642570 5.570464 32705 275
> set(java.lang.String, java.lang.String) void
> RegularObjectImpl org.jboss.tools.common.model.impl 21.582908 0.000000 0.000985 201.923675 0.000000 21907 0
> getLongPath() java.lang.String
> XModelObjectImpl org.jboss.tools.common.model.impl 105.139329 1.141071 0.002264 125.354073 2.139659 46432 364
> getAttributeValue(java.lang.String) java.lang.String
> XModelObjectImpl org.jboss.tools.common.model.impl 30.041825 0.038265 0.000358 84.506342 0.310830 83932 469
> belongsTo(java.lang.Object) boolean
> XJob org.jboss.tools.common.model 79.709347 0.000000 0.046532 79.709347 0.000000 1713 0
> get(java.lang.String) java.lang.String
> AbstractExtendedXMLFileImpl org.jboss.tools.common.model.filesystems.impl 26.688162 0.000000 0.000790 74.167544 0.000000 33801 0
> describe(java.io.InputStream, org.eclipse.core.runtime.content.IContentDescription) int
> XMLContentDescriber org.jboss.tools.common.model.ui.editor 20.608653 0.000000 0.130435 73.861405 0.000000 158 0
> get(java.lang.String) java.lang.String
> XModelObjectImpl org.jboss.tools.common.model.impl 38.404906 0.000000 0.000293 51.634328 0.000000 130880 0
> get(java.lang.String) java.lang.String
> FileAnyImpl org.jboss.tools.common.model.filesystems.impl 20.120570 0.000000 0.000320 49.259172 0.000000 62937 0
> getParent() org.jboss.tools.common.model.XModelObject
> XModelObjectImpl org.jboss.tools.common.model.impl 24.546885 0.018037 0.000131 24.546885 0.018037 188038 878 _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
More information about the jbosstools-dev
mailing list