giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maja Kabiljo (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GIRAPH-1175) Avoid evaluation of Partition.getEdgeCount in log line
Date Fri, 23 Mar 2018 16:48:00 GMT

     [ https://issues.apache.org/jira/browse/GIRAPH-1175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Maja Kabiljo resolved GIRAPH-1175.
----------------------------------
    Resolution: Fixed
      Assignee: Dionysios Logothetis

> Avoid evaluation of Partition.getEdgeCount in log line
> ------------------------------------------------------
>
>                 Key: GIRAPH-1175
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1175
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Dionysios Logothetis
>            Assignee: Dionysios Logothetis
>            Priority: Major
>
> Calling {{partition.getEdgeCount()}} iteration on all the vertices of the partition,
which can be expensive. The expression inside {{checkNotNull}} is always evaluated, making
this expensive. This constructs the string only if necessary.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message