Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add optional HTTP comparison #153

Merged
merged 2 commits into from
Mar 2, 2021
Merged

Add optional HTTP comparison #153

merged 2 commits into from
Mar 2, 2021

Conversation

hannahhoward
Copy link
Collaborator

@hannahhoward hannahhoward commented Feb 26, 2021

Goals

Provide a mechanism to compare graphsync against HTTP.

Implementation

Adds setup of HTTP to the default testplan. Can be turned on and off. Default is on.

@hannahhoward hannahhoward force-pushed the feat/transfer_testplan branch from 0ffc357 to 2db8f7a Compare February 26, 2021 23:44
@hannahhoward hannahhoward changed the title add transfer testplan Add optional HTTP comparison Feb 27, 2021
@hannahhoward hannahhoward requested a review from acruikshank March 2, 2021 15:42
Copy link
Contributor

@acruikshank acruikshank left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

if runHTTPTest {
runenv.R().RecordPoint(measurement+",transport=graphsync", float64(dur)/float64(time.Second))
} else {
runenv.R().RecordPoint(measurement, float64(dur)/float64(time.Second))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The data will be easier to process if you add ",transport=http" here.

acruikshank and others added 2 commits March 2, 2021 10:41
Add configuration for memory buffering and disabling unlimited options, also add timing of responses
@hannahhoward hannahhoward force-pushed the feat/transfer_testplan branch from 41b2b5d to 43ae998 Compare March 2, 2021 18:41
@hannahhoward hannahhoward merged commit fcb8c29 into master Mar 2, 2021
@aschmahmann aschmahmann mentioned this pull request May 14, 2021
71 tasks
@mvdan mvdan deleted the feat/transfer_testplan branch December 15, 2021 14:16
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants