diff options
author | Peter Wu | 2014-08-02 12:51:57 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-11-14 00:09:51 +0100 |
commit | b75430280f5bfc61b5c7d4576cda1b2608aa4422 (patch) | |
tree | 08535232792e9ab49cee73f1b52bc555a484c94b /js/binaryXHR.js | |
parent | jsrrdgraph: Fix undefined value issue in RrdDataFile (diff) | |
download | apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.zip apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.gz apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.bz2 apt-panopticon_cgp-b75430280f5bfc61b5c7d4576cda1b2608aa4422.tar.xz |
jsrrdgraph: Improve performance for graphs in the future
The RRD file has finer details for more recent data points. When looking
for a match for a graph past the last update ("the future"), a RRA would
be picked which has a step size of 1. As we know that no data points are
available, optimise this and return earlier with the full range set to
NaN.
Diffstat (limited to 'js/binaryXHR.js')
0 files changed, 0 insertions, 0 deletions