Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(stream): add initial support for stream processing and live updates #11

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

clok
Copy link
Owner

@clok clok commented Jun 14, 2022

Stream

$ cat tmp/random.log | sig stream
N	5000000
Min	1258
Max	2084
Mean	2.28595
Mode	239
Median	224.55
Sum	1.139274e+07
Std Dev	4.717073
Variance	22.24969850
p50	2245
p75	2245.5
p90	4445
p95	5145
p99	117.55
Q1	107.5
Q2	224.55
Q3	224.55
Outliers	538195
Mild	341450
Extreme	196745

[22] next refresh at N modulo 1,000,000 == 0

... THEN ...

N	11388121
Min	1
Max	2084
Mean	1.56
Mode	1
Median	1
Sum	1.7780861e+07
Std Dev	3.1893
Variance	10.1714
p50	1
p75	2
p90	2
p95	3
p99	7
Q1	1
Q2	1
Q3	2
Outliers	538195
Mild	341450
Extreme	196745

Done. Processed 11,388,121 rows

@clok clok self-assigned this Jun 14, 2022
@coveralls
Copy link

coveralls commented Jun 14, 2022

Pull Request Test Coverage Report for Build 2498368998

  • 12 of 155 (7.74%) changed or added relevant lines in 2 files are covered.
  • 11 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-20.9%) to 51.346%

Changes Missing Coverage Covered Lines Changed/Added Lines %
commands/common.go 12 83 14.46%
commands/stream.go 0 72 0.0%
Files with Coverage Reduction New Missed Lines %
commands/common.go 11 53.66%
Totals Coverage Status
Change from base Build 2488743717: -20.9%
Covered Lines: 286
Relevant Lines: 557

💛 - Coveralls

Signed-off-by: Derek Smith <drsmith.phys@gmail.com>
@clok clok merged commit a9d741c into main Jun 14, 2022
@clok clok deleted the feat/stream-option branch June 14, 2022 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants