You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (Jira)" <de...@uima.apache.org> on 2020/04/02 19:14:00 UTC

[jira] [Commented] (UIMA-6211) Type.isPrimitive() seems really slow

    [ https://issues.apache.org/jira/browse/UIMA-6211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074022#comment-17074022 ] 

Marshall Schor commented on UIMA-6211:
--------------------------------------

seems kind of strange.  The function where all the time is being spent doesn't do anything much except a set of compares of ints, and a couple of subroutine calls (which don't show up in the profile) .  Not sure what Self Time = 0 means, as well.

Curious if your test setup shows poor performance on V3?

> Type.isPrimitive() seems really slow
> ------------------------------------
>
>                 Key: UIMA-6211
>                 URL: https://issues.apache.org/jira/browse/UIMA-6211
>             Project: UIMA
>          Issue Type: Bug
>          Components: UIMA
>    Affects Versions: 2.10.4SDK
>            Reporter: Richard Eckart de Castilho
>            Priority: Major
>         Attachments: Screenshot 2020-04-02 at 11.34.01.png
>
>
> It appears as if the {{Type.isPrimitive()}} method would be very slow. Cf. the number of hits and the time taken in the attached screenshot.
>  !Screenshot 2020-04-02 at 11.34.01.png! 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)