Skip to content
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

[EXPERIMENTAL] NATS protocol parser #465

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

[EXPERIMENTAL] NATS protocol parser #465

wants to merge 2 commits into from

Conversation

mtmk
Copy link
Collaborator

@mtmk mtmk commented Apr 4, 2024

This is an experimental NATS Protocol Parser with zero allocations. Somewhat inspired by the .NET Runtime System.Text.Json library's Utf8JsonReader.

Method Mean Error StdDev Allocated
Parse 862.5 ns 320.3 ns 17.56 ns -

mtmk added 2 commits April 4, 2024 14:47
This is an experimental NATS Protocol Parser with zero allocations. Somewhat
inspired by the .NET Runtime System.Text.Json library's Utf8JsonReader.

| Method | Mean     | Error    | StdDev   | Allocated |
|------- |---------:|---------:|---------:|----------:|
| Parse  | 862.5 ns | 320.3 ns | 17.56 ns |         - |
@mtmk mtmk self-assigned this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant