umrndem commented on PR #41716: URL: https://github.com/apache/beam/pull/41716#issuecomment-7364733566
sure, the benchmarks are in [combine_cache_test.go](https://github.com/apache/beam/blob/3947c9ad00db015c5d0a876f87eb2e5674a9a860/sdks/go/pkg/beam/core/runtime/exec/combine_cache_test.go#L197-L272), with the coder setup just above them. from `sdks`, you can run: ```sh go test -vet=off ./go/pkg/beam/core/runtime/exec -run '^$' -bench '^BenchmarkLiftingCache(Lookup|Miss)$' -benchmem ``` the lookup cases reuse a cached key; the miss cases use distinct keys and clear the cache every 2,000 entries. `-vet=off` skips the existing vet warnings mentioned in the pr body. -- 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]
