KhaninArtur commented on a change in pull request #16199:
URL: https://github.com/apache/beam/pull/16199#discussion_r767658832
##########
File path: playground/backend/build.gradle.kts
##########
@@ -51,6 +51,34 @@ task("test") {
}
}
+task("benchmarksForPrecompileObjects") {
+ group = "verification"
+ description = "Run benchmarks for recompiled objects"
+ doLast {
+ exec {
+ executable("go")
+ args("test", "-bench", ".", "-benchmem", "./internal/cloud_bucket/...")
+ }
+ }
+}
+
+task("benchmarksForCodeProcessing") {
Review comment:
```suggestion
task("benchmarkCodeProcessing") {
```
##########
File path: playground/backend/build.gradle.kts
##########
@@ -51,6 +51,34 @@ task("test") {
}
}
+task("benchmarksForPrecompileObjects") {
+ group = "verification"
+ description = "Run benchmarks for recompiled objects"
Review comment:
```suggestion
description = "Run benchmarks for precompiled objects"
```
##########
File path: playground/backend/build.gradle.kts
##########
@@ -51,6 +51,34 @@ task("test") {
}
}
+task("benchmarksForPrecompileObjects") {
Review comment:
```suggestion
task("benchmarkPrecompiledObjects") {
```
##########
File path: playground/backend/build.gradle.kts
##########
@@ -51,6 +51,34 @@ task("test") {
}
}
+task("benchmarksForPrecompileObjects") {
+ group = "verification"
+ description = "Run benchmarks for recompiled objects"
+ doLast {
+ exec {
+ executable("go")
+ args("test", "-bench", ".", "-benchmem", "./internal/cloud_bucket/...")
+ }
+ }
+}
+
+task("benchmarksForCodeProcessing") {
+ group = "verification"
+ description = "Run benchmarks for code processing"
+ doLast {
+ exec {
+ executable("go")
+ args("test", "-run=^$", "-bench", ".", "-benchmem",
"./internal/code_processing/...")
+ }
+ }
+}
+
+task("benchmarks") {
Review comment:
```suggestion
task("benchmark") {
```
--
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]