From 072fae7fd38ec4bae00ff731dea3b22f0f5d7348 Mon Sep 17 00:00:00 2001
From: Travis Ralston <travpc@gmail.com>
Date: Tue, 25 Jun 2019 20:04:00 -0600
Subject: [PATCH] Add custom singleflight tests

---
 ...005-AfterCustomSingleflight-ColdCache.json | 202 ++++++++++++++++++
 ...170-AfterCustomSingleflight-WarmCache.json | 202 ++++++++++++++++++
 2 files changed, 404 insertions(+)
 create mode 100644 tests/performance/example_reports/1561514534005-AfterCustomSingleflight-ColdCache.json
 create mode 100644 tests/performance/example_reports/1561514563170-AfterCustomSingleflight-WarmCache.json

diff --git a/tests/performance/example_reports/1561514534005-AfterCustomSingleflight-ColdCache.json b/tests/performance/example_reports/1561514534005-AfterCustomSingleflight-ColdCache.json
new file mode 100644
index 00000000..f3a0a488
--- /dev/null
+++ b/tests/performance/example_reports/1561514534005-AfterCustomSingleflight-ColdCache.json
@@ -0,0 +1,202 @@
+{
+  "failed": 0,
+  "corrupted": 0,
+  "requestTimes": [
+    3470,
+    3472,
+    3472,
+    3472,
+    3473,
+    3473,
+    3514,
+    3515,
+    3515,
+    3597,
+    3598,
+    3598,
+    3598,
+    3598,
+    3598,
+    3689,
+    3703,
+    3704,
+    3707,
+    4540,
+    4540,
+    4540,
+    4857,
+    4857,
+    4857,
+    4858,
+    4858,
+    4858,
+    4874,
+    4875,
+    4875,
+    4971,
+    4972,
+    4972,
+    5016,
+    5017,
+    5017,
+    5018,
+    5018,
+    5018,
+    5069,
+    5069,
+    5070,
+    5070,
+    5070,
+    5070,
+    5071,
+    5071,
+    5071,
+    5071,
+    5071,
+    5071,
+    5102,
+    5103,
+    5104,
+    5214,
+    5214,
+    5214,
+    5215,
+    5215,
+    5215,
+    5217,
+    5217,
+    5218,
+    5218,
+    5219,
+    5219,
+    5219,
+    5219,
+    5219,
+    5220,
+    5220,
+    5220,
+    5221,
+    5221,
+    5222,
+    5223,
+    5224,
+    5225,
+    5225,
+    5263,
+    5263,
+    5264,
+    5264,
+    5264,
+    5264,
+    5264,
+    5264,
+    5265,
+    5265,
+    5265,
+    5265,
+    5266,
+    5266,
+    5267,
+    5267,
+    5267,
+    5267,
+    5267,
+    5268,
+    5268,
+    5268,
+    5268,
+    5268,
+    5269,
+    5269,
+    5270,
+    5399,
+    5399,
+    5399,
+    5399,
+    5400,
+    5400,
+    5401,
+    5403,
+    5403,
+    5403,
+    5404,
+    5404,
+    5404,
+    5404,
+    5405,
+    5405,
+    5406,
+    5406,
+    5406,
+    5406,
+    5406,
+    5406,
+    5407,
+    5407,
+    5407,
+    5408,
+    5408,
+    5601,
+    5601,
+    5601,
+    5648,
+    5648,
+    5649,
+    5800,
+    5800,
+    5801,
+    6021,
+    6021,
+    6021,
+    6022,
+    6022,
+    6023,
+    6583,
+    6584,
+    6590,
+    6591,
+    6591,
+    6591,
+    6848,
+    6849,
+    6849,
+    6849,
+    6849,
+    6849,
+    7202,
+    7203,
+    7207,
+    7293,
+    7293,
+    7294,
+    7365,
+    7366,
+    7366,
+    7371,
+    7371,
+    7371,
+    7449,
+    7452,
+    7452,
+    7452,
+    7452,
+    7452,
+    8064,
+    8064,
+    8064,
+    8075,
+    8075,
+    8075,
+    8701,
+    8702,
+    8703,
+    8703,
+    8703,
+    8704
+  ],
+  "min": 3470,
+  "max": 8704,
+  "average": 5580.293193717277,
+  "median": 5267,
+  "count": 191
+}
\ No newline at end of file
diff --git a/tests/performance/example_reports/1561514563170-AfterCustomSingleflight-WarmCache.json b/tests/performance/example_reports/1561514563170-AfterCustomSingleflight-WarmCache.json
new file mode 100644
index 00000000..9325d214
--- /dev/null
+++ b/tests/performance/example_reports/1561514563170-AfterCustomSingleflight-WarmCache.json
@@ -0,0 +1,202 @@
+{
+  "failed": 0,
+  "corrupted": 0,
+  "requestTimes": [
+    206,
+    206,
+    206,
+    206,
+    206,
+    206,
+    210,
+    210,
+    211,
+    211,
+    211,
+    211,
+    211,
+    211,
+    211,
+    211,
+    211,
+    212,
+    212,
+    213,
+    213,
+    213,
+    214,
+    214,
+    214,
+    214,
+    214,
+    214,
+    214,
+    215,
+    215,
+    215,
+    215,
+    222,
+    222,
+    222,
+    233,
+    234,
+    234,
+    234,
+    235,
+    235,
+    241,
+    242,
+    243,
+    256,
+    256,
+    256,
+    258,
+    259,
+    259,
+    259,
+    259,
+    260,
+    266,
+    266,
+    266,
+    266,
+    268,
+    268,
+    268,
+    269,
+    269,
+    269,
+    271,
+    271,
+    271,
+    271,
+    271,
+    273,
+    273,
+    274,
+    274,
+    280,
+    281,
+    281,
+    295,
+    295,
+    295,
+    296,
+    296,
+    301,
+    304,
+    304,
+    304,
+    304,
+    304,
+    305,
+    305,
+    305,
+    306,
+    306,
+    306,
+    306,
+    306,
+    307,
+    307,
+    307,
+    307,
+    307,
+    307,
+    307,
+    307,
+    307,
+    308,
+    308,
+    310,
+    310,
+    311,
+    312,
+    312,
+    313,
+    313,
+    313,
+    314,
+    314,
+    315,
+    315,
+    316,
+    316,
+    316,
+    316,
+    317,
+    317,
+    317,
+    317,
+    317,
+    317,
+    317,
+    317,
+    317,
+    317,
+    318,
+    318,
+    318,
+    318,
+    318,
+    319,
+    319,
+    319,
+    319,
+    319,
+    320,
+    321,
+    321,
+    344,
+    344,
+    345,
+    359,
+    359,
+    359,
+    360,
+    362,
+    362,
+    363,
+    363,
+    363,
+    364,
+    364,
+    364,
+    364,
+    365,
+    365,
+    366,
+    367,
+    368,
+    369,
+    370,
+    370,
+    370,
+    371,
+    371,
+    373,
+    373,
+    374,
+    375,
+    375,
+    375,
+    382,
+    382,
+    382,
+    382,
+    385,
+    386,
+    386,
+    386,
+    386,
+    387,
+    388,
+    388,
+    390
+  ],
+  "min": 206,
+  "max": 390,
+  "average": 296.13612565445027,
+  "median": 307,
+  "count": 191
+}
\ No newline at end of file
-- 
GitLab