In [9]:
%matplotlib inline
import matplotlib
import seaborn as sns
matplotlib.rcParams['savefig.dpi'] = 2 * matplotlib.rcParams['savefig.dpi']
from timing import fetch_results
import pandas as pd

In [19]:
results = fetch_results('http://localhost:8080')


Fetching root ...
Fetching sitemap ...
Seeding data ...
Flushing memchace ...
Querying ...

In [20]:
(pd.DataFrame(results)
    .set_index('route')
    ['length']
    .plot(kind='barh'))


Out[20]:
<matplotlib.axes._subplots.AxesSubplot at 0x1143f4d90>

In [21]:
(pd.DataFrame(results)
    .set_index('route')
    [['clock', 'request_time', 'time']]
    .plot(kind='barh'))


Out[21]:
<matplotlib.axes._subplots.AxesSubplot at 0x11473f150>