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

Make urls use bps sans ttfb #407

Merged
merged 5 commits into from
Sep 8, 2017
Merged

Make urls use bps sans ttfb #407

merged 5 commits into from
Sep 8, 2017

Conversation

garrettmoon
Copy link
Collaborator

No description provided.

@ghost
Copy link

ghost commented Sep 8, 2017

🚫 CI failed with log

@garrettmoon garrettmoon changed the title Make ur ls use bps sans ttfb Make urls use bps sans ttfb Sep 8, 2017
@ghost
Copy link

ghost commented Sep 8, 2017

🚫 CI failed with log

Copy link
Contributor

@Adlai-Holler Adlai-Holler left a comment

Choose a reason for hiding this comment

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

Code looks fine, some naming and documentation things.

Returns bytes per second adjusted by subtracting subtraction from the task length before calculation.
Useful when you want something like bytesPerSecond discounting the time to first byte.

@param subtraction an amount to be subtracted from task length befor calculation.
Copy link
Contributor

Choose a reason for hiding this comment

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

Capital An, before calculation.

@@ -128,6 +128,31 @@ - (float)l_bytesPerSecond
return downloadedBytes / taskLength;
}

- (float)adjustedBytesPerSecond:(CFTimeInterval)subtraction
Copy link
Contributor

Choose a reason for hiding this comment

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

bytesPerSecondWithTimeToFirstByte:?

@pinterest pinterest deleted a comment Sep 8, 2017
@pinterest pinterest deleted a comment Sep 8, 2017
@pinterest pinterest deleted a comment Sep 8, 2017
@ghost
Copy link

ghost commented Sep 8, 2017

🚫 CI failed with log

@garrettmoon garrettmoon merged commit 837b956 into master Sep 8, 2017
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.

None yet

2 participants