Created
July 31, 2020 14:42
-
-
Save roymartinezblanco/887c02c7d33e9ab6a09a58e220e2d5b5 to your computer and use it in GitHub Desktop.
Third Party Timings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tmp = dat_clean | |
tmp = tmp[tmp['host-type'] == 'Third Party'] | |
tmp = tmp[["host", "send","ttfb", "receive"]] | |
tmp = tmp.groupby('host')[ "send", "ttfb", "receive"].mean().reset_index() | |
tmp.plot(x="host", kind="bar", stacked=True,label='Series') | |
plt.title('Third Party Timings') | |
plt.xlabel('Domains') | |
plt.ylabel('Milliseconds') | |
plt.show() | |
del tmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment