Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

[draft] experiments of using proto and add microbenchmarks#123

Open
Alva8756 wants to merge 1 commit intomainfrom
proto_benchmark
Open

[draft] experiments of using proto and add microbenchmarks#123
Alva8756 wants to merge 1 commit intomainfrom
proto_benchmark

Conversation

@Alva8756
Copy link
Copy Markdown
Contributor

@Alva8756 Alva8756 commented Nov 19, 2024

This is an experiments of using proto as GetComponents response payload.

The microbenchmark creates a simple response with 5 components. It creates a local client sending request against local server.

Micro-benchmark result:

BenchmarkGetComponentsJson
p50 latency: 3.412042ms
p90 latency: 4.685958ms
p99 latency: 19.750375ms

BenchmarkGetComponentsProto
p50 latency: 3.226333ms
p90 latency: 4.581083ms
p99 latency: 18.503042ms

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant