-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added end to end test for mem ballast
This commit adds an end to end test to verify performance gain acheived with memory ballast It mainly checks the CPU usage and does not test against memory usage. I'll be submitting another PR that will specifically test memory behaviour and ensure the ballast does not actually consume memory. `TestNoBackend10kSPS` test was very reliably consuming >20 CPU on my machine so I increased the accepted values to 30 for this test.
- Loading branch information
Showing
3 changed files
with
99 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
# Test Results | ||
Started: Tue, 25 Jun 2019 10:31:56 -0400 | ||
Started: Mon, 01 Jul 2019 23:04:29 +0530 | ||
|
||
Test|Result|Duration|CPU Avg%|CPU Max%|RAM Avg MiB|RAM Max MiB|Sent Spans|Received Spans | ||
----|------|-------:|-------:|-------:|----------:|----------:|---------:|-------------: | ||
TestIdleMode|Passed|10s|0.3|1.0|25|34|0|0 | ||
Test10kSPS|Passed|17s|91.4|95.7|35|43|149610|149610 | ||
TestNoBackend10kSPS|Passed|10s|59.1|59.3|29|40|99910|0 | ||
Test1000SPSWithAttributes/0*0bytes|Passed|12s|18.7|19.3|30|41|10000|10000 | ||
Test1000SPSWithAttributes/100*50bytes|Passed|12s|70.2|71.0|32|45|10000|10000 | ||
Test1000SPSWithAttributes/10*1000bytes|Passed|12s|68.0|74.3|32|44|10000|10000 | ||
Test1000SPSWithAttributes/20*5000bytes|Passed|12s|158.2|173.7|39|55|10000|10000 | ||
Test |Result|Duration|CPU Avg%|CPU Max%|RAM Avg MiB|RAM Max MiB|Sent Spans|Received Spans | ||
----------------------------------------|------|-------:|-------:|-------:|----------:|----------:|---------:|-------------: | ||
TestIdleMode |PASS | 10s| 0.3| 0.7| 24| 32| 0| 0 | ||
Test10kSPS |PASS | 17s| 73.3| 78.3| 34| 42| 148760| 148760 | ||
TestNoBackend10kSPS |PASS | 10s| 79.5| 81.7| 29| 40| 98770| 0 | ||
Test1000SPSWithAttributes/0*0bytes |PASS | 12s| 25.8| 26.7| 30| 41| 10000| 10000 | ||
Test1000SPSWithAttributes/100*50bytes |PASS | 12s| 87.1| 93.7| 34| 47| 9990| 9990 | ||
Test1000SPSWithAttributes/10*1000bytes |PASS | 12s| 67.8| 74.3| 32| 44| 10000| 10000 | ||
Test1000SPSWithAttributes/20*5000bytes |PASS | 12s| 96.7| 102.0| 46| 71| 10000| 10000 | ||
TestBallast1000SPSWithAttributes/0*0bytes|FAIL | 4s| 25.3| 25.3| 41| 82| 2830| 2790 | ||
TestBallast1000SPSWithAttributes/100*50bytes|PASS | 12s| 59.6| 62.7| 498| 846| 9990| 9990 | ||
TestBallast1000SPSWithAttributes/10*1000bytes|PASS | 12s| 50.1| 57.0| 353| 575| 9980| 9980 | ||
TestBallast1000SPSWithAttributes/20*5000bytes|PASS | 12s| 58.9| 63.3| 784| 1081| 9960| 9960 | ||
|
||
Total duration: 87s | ||
Total duration: 128s |