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

Improve ygot.Diff performance #791

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

wenovus
Copy link
Collaborator

@wenovus wenovus commented Mar 8, 2023

Just keeping it here for now since there is currently no known need and it is currently not polished:

7x speed improvement

go test -bench=.

before:
BenchmarkDiff-12 1 22315983710 ns/op

After:
BenchmarkDiff-12 1 3290510126 ns/op

@coveralls
Copy link

Coverage Status

Coverage: 90.026% (-0.09%) from 90.119% when pulling 1221f4c on diff-performance-improve into 7dd3342 on master.

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.

2 participants