uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (Jira)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-6211) Type.isPrimitive() seems really slow
Date Thu, 02 Apr 2020 19:14:00 GMT

    [ 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)

Mime
View raw message