With very large datasets (e.g. 13m rows), summary and count appear to significantly slow down the response:
|
# Count |
|
count = count_results(self, prep(cuts, |
|
drilldowns=drilldowns, |
|
columns=[1])[0]) |
|
|
|
# Summary |
|
summary = first_result(self, prep(cuts, |
|
aggregates=aggregates)[0].limit(1)) |
Without generating summary and count, it's 2-3 times faster to return the response.
It would be useful to make returning these properties optional. E.g. by adding an optional &simple parameter to the request.
With very large datasets (e.g. 13m rows),
summaryandcountappear to significantly slow down the response:babbage/babbage/cube.py
Lines 89 to 96 in 9416105
Without generating
summaryandcount, it's 2-3 times faster to return the response.It would be useful to make returning these properties optional. E.g. by adding an optional
&simpleparameter to the request.