[ 
https://issues.apache.org/jira/browse/BEAM-7397?focusedWorklogId=247403&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-247403
 ]

ASF GitHub Bot logged work on BEAM-7397:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 23/May/19 13:13
            Start Date: 23/May/19 13:13
    Worklog Time Spent: 10m 
      Work Description: steveniemitz commented on issue #8662: [BEAM-7397] 
Avoid String.format in state namespace key construction
URL: https://github.com/apache/beam/pull/8662#issuecomment-495212823
 
 
   Build test failures look like unrelated spark test issues creating 
directories in jenkins? 🤷‍♂ 
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 247403)
    Time Spent: 20m  (was: 10m)

> 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
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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