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

Using WPT profiles with CDT throttling provides misleading results #4

Closed
patrickhulce opened this issue Nov 4, 2019 · 1 comment · Fixed by #5
Closed

Using WPT profiles with CDT throttling provides misleading results #4

patrickhulce opened this issue Nov 4, 2019 · 1 comment · Fixed by #5

Comments

@patrickhulce
Copy link

Hey @justinribeiro awesome action, love the involvement here!! 😍

A quick note though on using WPT profiles with CDT throttling as-is. WPT profiles are specified with latency at the packet level, i.e. RTT at the transport layer, while CDT expects throttling settings at the request level, i.e. RTT at the application layer.

The latency needed to be applied at the request level to see similar performance numbers is often several multiples of the latency at the packet level to account for the latency of DNS lookups, SSL handshakes, TCP handshakes, slow start, etc. You'll find these adjustment factors in the LH repo as well.

Love the ease with which folks can opt for different WPT profiles and the clever solution you've got to apply them! Awesome job here and carry on :D

(I think this might also apply to your jest example repo)

@justinribeiro
Copy link
Owner

Hi @patrickhulce! Yeahhhh......that was an oversight on my part (same with the jest example repo as well). I happened across this very problem when eyeballing numbers this morning; numbers are bit skewed. :-)

I'm going to patch this up with said adjust factors (cheers for the direct link).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants