You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Dionysios Logothetis (JIRA)" <ji...@apache.org> on 2018/03/13 22:25:00 UTC

[jira] [Created] (GIRAPH-1175) Avoid evaluation of Partition.getEdgeCount in log line

Dionysios Logothetis created GIRAPH-1175:
--------------------------------------------

             Summary: 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


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)