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

Benchmark framework + First memory fixes #89

Merged
merged 4 commits into from
Aug 28, 2020
Merged

Conversation

hannahhoward
Copy link
Collaborator

Goals

Establish a framework for benchmarking graphsync, and also first round fixes for memory performance

Implementation

  • Establish a test network that can be controlled in terms of latency/bandwidth/connectivity conditions
  • Establish a generator for multiple graphsync instances to run large scale benchmarks under different conditions
  • Write a single initial benchmark to measure performance -- note this doesn't exercise the whole range of conditions available in the testbed -- but just to demonstrate it's use
  • We can see the first fixes in terms of performance emerge just by profile the memory performance of this benchmark
    • We combine a couple changes here along with some updates to go-ipld-prime and go-ipld-prime-proto to avoid hundreds of unneccesary mem-copies and allocations of byte arrays.

@hannahhoward hannahhoward merged commit bd2d62f into master Aug 28, 2020
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
@mvdan mvdan deleted the feat/benchmarks branch December 15, 2021 14:16
marten-seemann pushed a commit that referenced this pull request Mar 2, 2023
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