blob: a5d78b14360ef32f9c6ba9669d72392ea07154d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
Jumpavg library
===============
Origins
-------
This library was developed as anomaly detection logic
for PAL_ (Presentation and Analysis Layer)
of CSIT_ (Continuous System and Integration Testing)
project of fd.io_ (Fast Data), one of LFN_
(Linux Foundation Networking) projects.
Currently still being primarily used in PAL's successor CSIT-DASH_.
In order to make this code available in PyPI_ (Python Package Index),
the setuputils stuff has been added,
and the code has been moved into a separate directory_,
in order to not intervere of otherwise tightly coupled CSIT code.
Usage
-----
TODO.
Change log
----------
TODO: Move into separate file?
0.4.0: Added "unit" and "sbps" parameters so information content
is reasonable even if sample values are below one.
0.3.0: Considerable speedup by avoiding unneeded copy. Dataclasses used.
Mostly API compatible, but repr looks different.
0.2.0: API incompatible changes. Targeted to Python 3 now.
0.1.3: Changed stdev computation to avoid negative variance due to rounding errors.
0.1.2: First version published in PyPI.
.. _PAL: https://wiki.fd.io/view/CSIT/Design_Optimizations#Presentation_and_Analytics_Layer
.. _CSIT: https://wiki.fd.io/view/CSIT
.. _CSIT-DASH: https://csit.fd.io
.. _fd.io: https://fd.io/
.. _LFN: https://www.linuxfoundation.org/projects/networking/
.. _PyPI: https://pypi.org/
.. _directory: https://gerrit.fd.io/r/gitweb?p=csit.git;a=tree;f=PyPI/jumpavg;hb=refs/heads/master
|