This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scenarios": { | |
| "name": "dotnet_protobuf_async_unary_ping_pong_1MB", | |
| "num_servers": 1, | |
| "num_clients": 1, | |
| "client_config": { | |
| "client_type": "ASYNC_CLIENT", | |
| "security_params": { | |
| "use_test_ca": true, | |
| "server_host_override": "foo.test.google.fr" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| attempt 4 | |
| [12:44:18.533] Interop Test Client | |
| [12:44:18.621] Binding Grpc.Shared.TestAssets.ClientOptions | |
| [12:44:18.628] -ClientType = httpclient | |
| [12:44:18.628] -ServerHost = grpc-test.sandbox.googleapis.com | |
| [12:44:18.628] -ServerHostOverride = | |
| [12:44:18.628] -ServerPort = 443 | |
| [12:44:18.628] -TestCase = large_unary | |
| [12:44:18.628] -UseTls = True | |
| [12:44:18.629] -UseTestCa = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| attempt 5 | |
| [12:44:19.321] Interop Test Client | |
| [12:44:19.409] Binding Grpc.Shared.TestAssets.ClientOptions | |
| [12:44:19.415] -ClientType = httpclient | |
| [12:44:19.415] -ServerHost = grpc-test.sandbox.googleapis.com | |
| [12:44:19.416] -ServerHostOverride = | |
| [12:44:19.416] -ServerPort = 443 | |
| [12:44:19.416] -TestCase = large_unary | |
| [12:44:19.416] -UseTls = True | |
| [12:44:19.417] -UseTestCa = False |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "scenarios": [ | |
| { | |
| "name": "dotnet_protobuf_async_unary_ping_pong", | |
| "num_servers": 1, | |
| "num_clients": 1, | |
| "client_config": { | |
| "client_type": "ASYNC_CLIENT", | |
| "security_params": null, | |
| "outstanding_rpcs_per_channel": 1, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| print('PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=%s' % os.getenv('PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION')) | |
| from google.protobuf.internal import api_implementation | |
| print('API implementation default %s:' % api_implementation._default_implementation_type) | |
| print('API implementation used by protobuf python: %s' % api_implementation.Type()) | |
| # this throws if c++ implementation is on and the native extension cannot be loaded | |
| import google.protobuf.timestamp_pb2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Copyright 2020 The gRPC Authors | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WriteRawPrimitivesBenchmark | |
| ====================== | |
| BEFORE | |
| BenchmarkDotNet=v0.11.4, OS=debian rodete | |
| Intel Xeon W-2135 CPU 3.70GHz, 1 CPU, 12 logical and 6 physical cores | |
| .NET Core SDK=3.1.301 | |
| [Host] : .NET Core 2.1.16 (CoreCLR 4.6.28516.03, CoreFX 4.6.28516.10), 64bit RyuJIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WriteMessagesBenchmark | |
| ====================== | |
| BEFORE | |
| BenchmarkDotNet=v0.11.4, OS=debian rodete | |
| Intel Xeon W-2135 CPU 3.70GHz, 1 CPU, 12 logical and 6 physical cores | |
| .NET Core SDK=3.1.301 | |
| [Host] : .NET Core 2.1.16 (CoreCLR 4.6.28516.03, CoreFX 4.6.28516.10), 64bit RyuJIT | |
| DefaultJob : .NET Core 2.1.16 (CoreCLR 4.6.28516.03, CoreFX 4.6.28516.10), 64bit RyuJIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WriteRawPrimitivesBenchmark | |
| ====================== | |
| BEFORE | |
| BenchmarkDotNet=v0.11.4, OS=debian rodete | |
| Intel Xeon W-2135 CPU 3.70GHz, 1 CPU, 12 logical and 6 physical cores | |
| .NET Core SDK=3.1.301 | |
| [Host] : .NET Core 2.1.16 (CoreCLR 4.6.28516.03, CoreFX 4.6.28516.10), 64bit RyuJIT | |
| DefaultJob : .NET Core 2.1.16 (CoreCLR 4.6.28516.03, CoreFX 4.6.28516.10), 64bit RyuJIT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AFTER | |
| BenchmarkDotNet=v0.11.4, OS=macOS Mojave 10.14.6 (18G5033) [Darwin 18.7.0] | |
| Intel Core i7-7567U CPU 3.50GHz (Kaby Lake), 1 CPU, 4 logical and 2 physical cores | |
| .NET Core SDK=3.1.101 | |
| [Host] : .NET Core 2.1.15 (CoreCLR 4.6.28325.01, CoreFX 4.6.28327.02), 64bit RyuJIT | |
| DefaultJob : .NET Core 2.1.15 (CoreCLR 4.6.28325.01, CoreFX 4.6.28327.02), 64bit RyuJIT | |
| | Method | BytesToWrite | encodedSize | Mean | Error | StdDev | Median | Gen 0/1k Op | Gen 1/1k Op | Gen 2/1k Op | Allocated Memory/Op | |
NewerOlder