Skip to content

Instantly share code, notes, and snippets.

View jtattermusch's full-sized avatar

Jan Tattermusch jtattermusch

  • Google
  • Mountain View, CA
View GitHub Profile
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
@jtattermusch
jtattermusch / fetch_nuget_stats.py
Created August 26, 2020 14:01
Fetch nuget download stats (version 2020-08-26)
#!/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
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
{
"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,
@jtattermusch
jtattermusch / gist:134a61278d45d599a1c753451d0318a6
Created May 2, 2022 09:36
dynamic windows sizing: failure
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
@jtattermusch
jtattermusch / gist:d6db50ebfa8a14f85d90509265aaa7ab
Created May 2, 2022 09:38
dynamic windows sizing: success
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
{
"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"