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

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

                Author: ASF GitHub Bot
            Created on: 14/Dec/21 10:34
            Start Date: 14/Dec/21 10:34
    Worklog Time Spent: 10m 
      Work Description: daria-malkova commented on a change in pull request 
#16198:
URL: https://github.com/apache/beam/pull/16198#discussion_r768530246



##########
File path: playground/backend/internal/code_processing/code_processing_test.go
##########
@@ -645,3 +647,184 @@ func Test_getRunOrTestCmd(t *testing.T) {
                })
        }
 }
+
+func setupBenchmarks(sdk pb.Sdk) {
+       err := os.MkdirAll(configFolder, fs.ModePerm)
+       if err != nil {
+               panic(err)
+       }
+       filePath := filepath.Join(configFolder, sdk.String()+".json")
+       switch sdk {
+       case pb.Sdk_SDK_JAVA:
+               err = os.WriteFile(filePath, []byte(javaConfig), 0600)

Review comment:
       Just a suggestion - you cold create map[SDK, config] instead of 
switch-case




-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

    Worklog Id:     (was: 695626)
    Time Spent: 50m  (was: 40m)

> [Playground] Add code_processing' benchmarks
> --------------------------------------------
>
>                 Key: BEAM-13437
>                 URL: https://issues.apache.org/jira/browse/BEAM-13437
>             Project: Beam
>          Issue Type: Sub-task
>          Components: beam-playground
>            Reporter: Aydar Zaynutdinov
>            Assignee: Aydar Zaynutdinov
>            Priority: P3
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Add benchmarks for the main methods of code_processing:
>  * Process
>  * GetProcessingOutput
>  * GetProcessingStatus
>  * GetLastIndex



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to