Steve Niemitz created BEAM-7397:
-----------------------------------

             Summary: Avoid String.format in state namespace construction
                 Key: BEAM-7397
                 URL: https://issues.apache.org/jira/browse/BEAM-7397
             Project: Beam
          Issue Type: Improvement
          Components: runner-core
            Reporter: Steve Niemitz
            Assignee: Steve Niemitz


I've noticed that for jobs that access state frequently, a percent or two of 
overall CPU time is actually spent calculating the state namespace name.

StateNamespaces.java uses a String.format for the window namespaces, but could 
simply use a string concatenation to do the same thing with much less overhead. 



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

Reply via email to