Skip to content

Instantly share code, notes, and snippets.

@roymartinezblanco
Created July 31, 2020 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save roymartinezblanco/6ac477da985863bd38051267e3289d02 to your computer and use it in GitHub Desktop.
Save roymartinezblanco/6ac477da985863bd38051267e3289d02 to your computer and use it in GitHub Desktop.
Timing by Ext
tmp = dat_clean
tmp = tmp[tmp['host'] == domain]
tmp = tmp.groupby('ext')[ "send", "ttfb", "receive"].mean().reset_index()
tmp[["ext", "send", "ttfb", "receive"]].plot(x="ext", kind="bar", stacked=True,label='Series')
plt.title(domain+': Timing by Ext')
plt.xlabel('Extensions')
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