-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v0.2.0 benchmark results #25
Labels
documentation
Improvements or additions to documentation
Comments
Single-threadedsingle-threadeddiff --git a/examples/helloworld/main.cpp b/examples/helloworld/main.cpp
index debc569..758fae3 100644
--- a/examples/helloworld/main.cpp
+++ b/examples/helloworld/main.cpp
@@ -35,7 +35,7 @@ int main() {
GreeterImpl greeter;
Service service(greeter);
- grpcxx::server server;
+ grpcxx::server server(0);
server.add(service);
std::printf("Listening on [127.0.0.1:7000] ...\n"); 1a
1b
2a
2b
3a
3b
|
Multi-threaded, 2 workers2 workersdiff --git a/examples/helloworld/main.cpp b/examples/helloworld/main.cpp
index debc569..a04f98d 100644
--- a/examples/helloworld/main.cpp
+++ b/examples/helloworld/main.cpp
@@ -35,7 +35,7 @@ int main() {
GreeterImpl greeter;
Service service(greeter);
- grpcxx::server server;
+ grpcxx::server server(2);
server.add(service);
std::printf("Listening on [127.0.0.1:7000] ...\n"); 1a
1b
2a
2b
3a
3b
|
Multi-threaded, hardware concurrencyhardware concurrency1a
1b
2a
2b
3a
3b
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Benchmarks
Scenarios
Results (req/s)
Benchmark details
Older benchmark results can be found in #2 and #20.
The text was updated successfully, but these errors were encountered: