You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/26 23:46:49 UTC

[GitHub] [pulsar-client-go] dferstay opened a new pull request #693: Add a parallel default_router bench test

dferstay opened a new pull request #693:
URL: https://github.com/apache/pulsar-client-go/pull/693


   ### Motivation
   
   The default router is called for every message published in the default configuration.  Therefore, it must maintain a high level of performance in the face of code changes.  Previously, we had a benchmark that measured serial routing performance, but we didn't have a way to measure performance of the router under parallel routing calls.
   
   ### Modifications
   
   Added a `BenchmarkDefaultRouterParallel` bench test case to `default_router_bench_test.go` module.
   
   ### Verifying this change
   
   I ran the default router bench test module by hand from the pulsar sub-directory:
   ```
   $ go test  -bench="^BenchmarkDefaultRouterParallel$"  -count=10 -cpu=1,2,4,8,16 -run=^$
   ```
   
   ### Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): No
     - The public API: No
     - The schema: No
     - The default values of configurations: No
     - The wire protocol: No
   
   ### Documentation
   
     - Does this pull request introduce a new feature? No


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar-client-go] cckellogg merged pull request #693: [DefaultRouter] add a parallel bench test

Posted by GitBox <gi...@apache.org>.
cckellogg merged pull request #693:
URL: https://github.com/apache/pulsar-client-go/pull/693


   


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org