Last active
April 7, 2019 22:16
-
-
Save mamiysr/a77409796ff95d9077b58c30201d9b11 to your computer and use it in GitHub Desktop.
Laravel 5.8 vs Adonis 4.0.1 - Stock performance benchmark
This file contains hidden or 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
| Tool: Fortio (Φορτίο) 1.3.2-pre usage: | |
| Load: Json response data from in usage realworld postgreqsl database with same model, same method. | |
| Adonis: Post.query().with('user').with('terms').with('metas').limit(50).fetch() | |
| Laravel:\App\Post::with("user")->with("terms")->with("metas")->limit(50)->get() | |
| No optimization, no nothing for both. only create fresh setup and create model, controller and route. | |
| Database: | |
| Post Table: Estimate rows count: 2672 | |
| Size on disk: 35 MB | |
| PostMeta Table: Estimate rows count: 5489 | |
| Size on disk: 640 kB | |
| User Table: Estimate rows count: 23 | |
| Size on disk: 64 kB | |
| Term Table: Estimate rows count: 290 | |
| Size on disk: 184 kB | |
| ------------------------------------------------------------- | |
| ------------------------------------------------------------- | |
| NODE v11.12.0 - NPM 6.9.0 | |
| AdonisJS 4.1.0 | |
| fortio load http://127.0.0.1:3333/posts/latest | |
| Ended after 5.206012727s : 40 calls. qps=7.6834 | |
| Sleep times : count 36 avg 0.48758742 +/- 0.07864 min 0.348338306 max 0.555348237 sum 17.553147 | |
| Aggregated Function Time : count 40 avg 0.077577948 +/- 0.08069 min 0.000144171 max 0.207122047 sum 3.10311791 | |
| # range, mid point, percentile, count | |
| >= 0.000144171 <= 0.001 , 0.000572086 , 50.00, 20 | |
| > 0.09 <= 0.1 , 0.095 , 52.50, 1 | |
| > 0.1 <= 0.12 , 0.11 , 60.00, 3 | |
| > 0.12 <= 0.14 , 0.13 , 65.00, 2 | |
| > 0.14 <= 0.16 , 0.15 , 77.50, 5 | |
| > 0.16 <= 0.18 , 0.17 , 87.50, 4 | |
| > 0.18 <= 0.2 , 0.19 , 95.00, 3 | |
| > 0.2 <= 0.207122 , 0.203561 , 100.00, 2 | |
| # target 50% 0.001 | |
| # target 75% 0.156 | |
| # target 90% 0.186667 | |
| # target 99% 0.205698 | |
| # target 99.9% 0.20698 | |
| Sockets used: 24 (for perfect keepalive, would be 4) | |
| Code -1 : 20 (50.0 %) ---- ??????? (might be cause of async routing? ) | |
| Code 200 : 20 (50.0 %) | |
| Response Header Sizes : count 40 avg 493 +/- 493 min 0 max 998 sum 19720 | |
| Response Body/Total Sizes : count 40 avg 131072 +/- 0 min 131072 max 131072 sum 5242880 | |
| All done 40 calls (plus 4 warmup) 77.578 ms avg, 7.7 qps | |
| ------------------------------------------------------------- | |
| ------------------------------------------------------------- | |
| PHP 7.3.3-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Mar 7 2019 20:31:49) ( NTS ) | |
| Laravel 5.8 | |
| fortio load http://127.0.0.1:8000/posts/latest | |
| Ended after 5.220322464s : 40 calls. qps=7.6624 | |
| Sleep times : count 36 avg 0.43209552 +/- 0.05555 min 0.328835457 max 0.512758303 sum 15.5554389 | |
| Aggregated Function Time : count 40 avg 0.12524514 +/- 0.0563 min 0.042701411 max 0.22648484 sum 5.0098057 | |
| # range, mid point, percentile, count | |
| >= 0.0427014 <= 0.045 , 0.0438507 , 2.50, 1 | |
| > 0.045 <= 0.05 , 0.0475 , 7.50, 2 | |
| > 0.05 <= 0.06 , 0.055 , 25.00, 7 | |
| > 0.09 <= 0.1 , 0.095 , 37.50, 5 | |
| > 0.1 <= 0.12 , 0.11 , 47.50, 4 | |
| > 0.12 <= 0.14 , 0.13 , 52.50, 2 | |
| > 0.14 <= 0.16 , 0.15 , 72.50, 8 | |
| > 0.16 <= 0.18 , 0.17 , 75.00, 1 | |
| > 0.18 <= 0.2 , 0.19 , 90.00, 6 | |
| > 0.2 <= 0.226485 , 0.213242 , 100.00, 4 | |
| # target 50% 0.13 | |
| # target 75% 0.18 | |
| # target 90% 0.2 | |
| # target 99% 0.223836 | |
| # target 99.9% 0.22622 | |
| Sockets used: 44 (for perfect keepalive, would be 4) | |
| Code 200 : 40 (100.0 %) | |
| Response Header Sizes : count 40 avg 939.15 +/- 3.111 min 933 max 949 sum 37566 | |
| Response Body/Total Sizes : count 40 avg 43705.55 +/- 7538 min 23721 max 46645 sum 1748222 | |
| All done 40 calls (plus 4 warmup) 125.245 ms avg, 7.7 qps |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "Adonisjs 4.0.1", | |
| "StartTime": "2019-03-25T06:56:16.89565264+03:00", | |
| "RequestedQPS": "1000", | |
| "RequestedDuration": "5s", | |
| "ActualQPS": 25.707662632092333, | |
| "ActualDuration": 5523644916, | |
| "NumThreads": 10, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 142, | |
| "Min": 0.000092023, | |
| "Max": 0.906784312, | |
| "Sum": 52.90490886800001, | |
| "Avg": 0.3725697807605634, | |
| "StdDev": 0.37564707229648336, | |
| "Data": [ | |
| { | |
| "Start": 0.000092023, | |
| "End": 0.0001, | |
| "Percent": 1.408450704225352, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.0001, | |
| "End": 0.0002, | |
| "Percent": 41.54929577464789, | |
| "Count": 57 | |
| }, | |
| { | |
| "Start": 0.0002, | |
| "End": 0.00030000000000000003, | |
| "Percent": 45.774647887323944, | |
| "Count": 6 | |
| }, | |
| { | |
| "Start": 0.00030000000000000003, | |
| "End": 0.0004, | |
| "Percent": 47.88732394366197, | |
| "Count": 3 | |
| }, | |
| { | |
| "Start": 0.0004, | |
| "End": 0.0005, | |
| "Percent": 48.59154929577465, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0005, | |
| "End": 0.0006000000000000001, | |
| "Percent": 49.29577464788732, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0006000000000000001, | |
| "End": 0.0007, | |
| "Percent": 50, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.5, | |
| "End": 0.75, | |
| "Percent": 73.2394366197183, | |
| "Count": 33 | |
| }, | |
| { | |
| "Start": 0.75, | |
| "End": 0.906784312, | |
| "Percent": 100, | |
| "Count": 38 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 0.0007 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 0.760314757368421 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 0.8481964901473684 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 0.9009255298147368 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 0.9061984337814737 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "-1": 71, | |
| "200": 71 | |
| }, | |
| "Sizes": { | |
| "Count": 142, | |
| "Min": 131072, | |
| "Max": 131072, | |
| "Sum": 18612224, | |
| "Avg": 131072, | |
| "StdDev": 0, | |
| "Data": [ | |
| { | |
| "Start": 131072, | |
| "End": 131072, | |
| "Percent": 100, | |
| "Count": 142 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 142, | |
| "Min": 0, | |
| "Max": 1008, | |
| "Sum": 70064, | |
| "Avg": 493.40845070422534, | |
| "StdDev": 493.4357722510968, | |
| "Data": [ | |
| { | |
| "Start": 0, | |
| "End": 0, | |
| "Percent": 50, | |
| "Count": 71 | |
| }, | |
| { | |
| "Start": 900, | |
| "End": 1000, | |
| "Percent": 98.59154929577464, | |
| "Count": 69 | |
| }, | |
| { | |
| "Start": 1000, | |
| "End": 1008, | |
| "Percent": 100, | |
| "Count": 2 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:3333/posts/latest", | |
| "SocketCount": 81, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "Nodejs - AdonisJS 4.0.1", | |
| "StartTime": "2019-03-25T06:52:47.185659945+03:00", | |
| "RequestedQPS": "10000", | |
| "RequestedDuration": "1m30s", | |
| "ActualQPS": 27.938743066251575, | |
| "ActualDuration": 94635610261, | |
| "NumThreads": 100, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 2644, | |
| "Min": 0.00009061, | |
| "Max": 7.513353181, | |
| "Sum": 9219.507687832996, | |
| "Avg": 3.4869544961546883, | |
| "StdDev": 3.5134463505013285, | |
| "Data": [ | |
| { | |
| "Start": 0.00009061, | |
| "End": 0.0001, | |
| "Percent": 1.13464447806354, | |
| "Count": 30 | |
| }, | |
| { | |
| "Start": 0.0001, | |
| "End": 0.0002, | |
| "Percent": 40.01512859304085, | |
| "Count": 1028 | |
| }, | |
| { | |
| "Start": 0.0002, | |
| "End": 0.00030000000000000003, | |
| "Percent": 49.54614220877458, | |
| "Count": 252 | |
| }, | |
| { | |
| "Start": 0.00030000000000000003, | |
| "End": 0.0004, | |
| "Percent": 49.88653555219365, | |
| "Count": 9 | |
| }, | |
| { | |
| "Start": 0.0004, | |
| "End": 0.0005, | |
| "Percent": 49.92435703479576, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0005, | |
| "End": 0.0006000000000000001, | |
| "Percent": 49.96217851739788, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0008, | |
| "End": 0.0009000000000000001, | |
| "Percent": 50, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 4, | |
| "End": 5, | |
| "Percent": 51.70196671709531, | |
| "Count": 45 | |
| }, | |
| { | |
| "Start": 5, | |
| "End": 7.5, | |
| "Percent": 99.96217851739789, | |
| "Count": 1276 | |
| }, | |
| { | |
| "Start": 7.5, | |
| "End": 7.513353181, | |
| "Percent": 100, | |
| "Count": 1 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 0.0009000000000000001 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 6.206896551724138 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 6.983934169278997 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 7.450156739811912 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 7.496778996865204 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "-1": 1322, | |
| "200": 1322 | |
| }, | |
| "Sizes": { | |
| "Count": 2644, | |
| "Min": 131072, | |
| "Max": 131072, | |
| "Sum": 346554368, | |
| "Avg": 131072, | |
| "StdDev": 0, | |
| "Data": [ | |
| { | |
| "Start": 131072, | |
| "End": 131072, | |
| "Percent": 100, | |
| "Count": 2644 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 2644, | |
| "Min": 0, | |
| "Max": 1014, | |
| "Sum": 1303958, | |
| "Avg": 493.17624810892585, | |
| "StdDev": 493.2019659572003, | |
| "Data": [ | |
| { | |
| "Start": 0, | |
| "End": 0, | |
| "Percent": 50, | |
| "Count": 1322 | |
| }, | |
| { | |
| "Start": 900, | |
| "End": 1000, | |
| "Percent": 98.60060514372164, | |
| "Count": 1285 | |
| }, | |
| { | |
| "Start": 1000, | |
| "End": 1014, | |
| "Percent": 100, | |
| "Count": 37 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:3333/posts/latest", | |
| "SocketCount": 1422, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "Nodejs - AdonisJS 4.0.1", | |
| "StartTime": "2019-03-25T06:44:42.575375519+03:00", | |
| "RequestedQPS": "1000", | |
| "RequestedDuration": "15s", | |
| "ActualQPS": 27.730250053351387, | |
| "ActualDuration": 17958727348, | |
| "NumThreads": 50, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 498, | |
| "Min": 0.0000851, | |
| "Max": 3.810150839, | |
| "Sum": 845.8319136320002, | |
| "Avg": 1.6984576578955828, | |
| "StdDev": 1.7113659414836777, | |
| "Data": [ | |
| { | |
| "Start": 0.0000851, | |
| "End": 0.0001, | |
| "Percent": 1.4056224899598393, | |
| "Count": 7 | |
| }, | |
| { | |
| "Start": 0.0001, | |
| "End": 0.0002, | |
| "Percent": 31.927710843373493, | |
| "Count": 152 | |
| }, | |
| { | |
| "Start": 0.0002, | |
| "End": 0.00030000000000000003, | |
| "Percent": 43.17269076305221, | |
| "Count": 56 | |
| }, | |
| { | |
| "Start": 0.00030000000000000003, | |
| "End": 0.0004, | |
| "Percent": 44.97991967871486, | |
| "Count": 9 | |
| }, | |
| { | |
| "Start": 0.0004, | |
| "End": 0.0005, | |
| "Percent": 45.18072289156626, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0005, | |
| "End": 0.0006000000000000001, | |
| "Percent": 46.18473895582329, | |
| "Count": 5 | |
| }, | |
| { | |
| "Start": 0.0006000000000000001, | |
| "End": 0.0007, | |
| "Percent": 47.59036144578313, | |
| "Count": 7 | |
| }, | |
| { | |
| "Start": 0.0008, | |
| "End": 0.0009000000000000001, | |
| "Percent": 47.99196787148595, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.0009000000000000001, | |
| "End": 0.001, | |
| "Percent": 48.393574297188756, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.001, | |
| "End": 0.0011, | |
| "Percent": 48.59437751004016, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0011, | |
| "End": 0.0012000000000000001, | |
| "Percent": 48.99598393574297, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.0012000000000000001, | |
| "End": 0.0014, | |
| "Percent": 49.397590361445786, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.0014, | |
| "End": 0.0016, | |
| "Percent": 49.59839357429719, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0018000000000000002, | |
| "End": 0.002, | |
| "Percent": 49.799196787148595, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.0025, | |
| "End": 0.003, | |
| "Percent": 50, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 2, | |
| "End": 3, | |
| "Percent": 57.028112449799195, | |
| "Count": 35 | |
| }, | |
| { | |
| "Start": 3, | |
| "End": 3.810150839, | |
| "Percent": 100, | |
| "Count": 214 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 0.003 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 3.3388247667780373 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 3.621620410111215 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 3.791297796111121 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 3.8082655347111123 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "-1": 249, | |
| "200": 249 | |
| }, | |
| "Sizes": { | |
| "Count": 498, | |
| "Min": 131072, | |
| "Max": 131072, | |
| "Sum": 65273856, | |
| "Avg": 131072, | |
| "StdDev": 0, | |
| "Data": [ | |
| { | |
| "Start": 131072, | |
| "End": 131072, | |
| "Percent": 100, | |
| "Count": 498 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 498, | |
| "Min": 0, | |
| "Max": 1006, | |
| "Sum": 245820, | |
| "Avg": 493.6144578313253, | |
| "StdDev": 493.63997981371926, | |
| "Data": [ | |
| { | |
| "Start": 0, | |
| "End": 0, | |
| "Percent": 50, | |
| "Count": 249 | |
| }, | |
| { | |
| "Start": 900, | |
| "End": 1000, | |
| "Percent": 98.59437751004016, | |
| "Count": 242 | |
| }, | |
| { | |
| "Start": 1000, | |
| "End": 1006, | |
| "Percent": 100, | |
| "Count": 7 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:3333/posts/latest", | |
| "SocketCount": 299, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "Laravel 5.8", | |
| "StartTime": "2019-03-25T06:58:04.660018415+03:00", | |
| "RequestedQPS": "1000", | |
| "RequestedDuration": "5s", | |
| "ActualQPS": 19.3617724019548, | |
| "ActualDuration": 5474705404, | |
| "NumThreads": 10, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 106, | |
| "Min": 0.051602418, | |
| "Max": 0.56564464, | |
| "Sum": 52.49750962600001, | |
| "Avg": 0.495259524773585, | |
| "StdDev": 0.08492189207290177, | |
| "Data": [ | |
| { | |
| "Start": 0.051602418, | |
| "End": 0.060000000000000005, | |
| "Percent": 0.9433962264150944, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.1, | |
| "End": 0.2, | |
| "Percent": 2.830188679245283, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.2, | |
| "End": 0.3, | |
| "Percent": 4.716981132075472, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.3, | |
| "End": 0.4, | |
| "Percent": 6.60377358490566, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.4, | |
| "End": 0.5, | |
| "Percent": 36.79245283018868, | |
| "Count": 32 | |
| }, | |
| { | |
| "Start": 0.5, | |
| "End": 0.56564464, | |
| "Percent": 100, | |
| "Count": 67 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 0.5137167904477612 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 0.5396807152238806 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 0.5552590700895522 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 0.5646060830089552 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 0.5655407843008956 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "200": 106 | |
| }, | |
| "Sizes": { | |
| "Count": 106, | |
| "Min": 941, | |
| "Max": 46645, | |
| "Sum": 4455224, | |
| "Avg": 42030.41509433962, | |
| "StdDev": 9614.692934458335, | |
| "Data": [ | |
| { | |
| "Start": 941, | |
| "End": 1000, | |
| "Percent": 0.9433962264150944, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 20000, | |
| "End": 25000, | |
| "Percent": 18.867924528301888, | |
| "Count": 19 | |
| }, | |
| { | |
| "Start": 45000, | |
| "End": 46645, | |
| "Percent": 100, | |
| "Count": 86 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 106, | |
| "Min": 933, | |
| "Max": 949, | |
| "Sum": 99512, | |
| "Avg": 938.7924528301887, | |
| "StdDev": 3.119376392490123, | |
| "Data": [ | |
| { | |
| "Start": 933, | |
| "End": 949, | |
| "Percent": 100, | |
| "Count": 106 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:8000/posts/latest", | |
| "SocketCount": 116, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "PHP7.3 - Laravel 5.8", | |
| "StartTime": "2019-03-25T06:49:20.328116895+03:00", | |
| "RequestedQPS": "10000", | |
| "RequestedDuration": "1m30s", | |
| "ActualQPS": 19.5800740543542, | |
| "ActualDuration": 94943461135, | |
| "NumThreads": 100, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 1859, | |
| "Min": 0.053844024, | |
| "Max": 5.257366286, | |
| "Sum": 9248.880277837998, | |
| "Avg": 4.975191112338891, | |
| "StdDev": 0.667457880907822, | |
| "Data": [ | |
| { | |
| "Start": 0.053844024, | |
| "End": 0.060000000000000005, | |
| "Percent": 0.05379236148466918, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.1, | |
| "End": 0.2, | |
| "Percent": 0.16137708445400753, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.2, | |
| "End": 0.3, | |
| "Percent": 0.2689618074233459, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.3, | |
| "End": 0.4, | |
| "Percent": 0.37654653039268426, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.4, | |
| "End": 0.5, | |
| "Percent": 0.4841312533620226, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.5, | |
| "End": 0.75, | |
| "Percent": 0.7530930607853685, | |
| "Count": 5 | |
| }, | |
| { | |
| "Start": 0.75, | |
| "End": 1, | |
| "Percent": 1.0220548682087143, | |
| "Count": 5 | |
| }, | |
| { | |
| "Start": 1, | |
| "End": 2, | |
| "Percent": 2.0441097364174285, | |
| "Count": 19 | |
| }, | |
| { | |
| "Start": 2, | |
| "End": 3, | |
| "Percent": 3.1737493275954813, | |
| "Count": 21 | |
| }, | |
| { | |
| "Start": 3, | |
| "End": 4, | |
| "Percent": 4.195804195804196, | |
| "Count": 19 | |
| }, | |
| { | |
| "Start": 4, | |
| "End": 5, | |
| "Percent": 15.061861215707369, | |
| "Count": 202 | |
| }, | |
| { | |
| "Start": 5, | |
| "End": 5.257366286, | |
| "Percent": 100, | |
| "Count": 1579 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 5.105864092943002 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 5.181615189471501 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 5.227065847388601 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 5.2543362421388595 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 5.257063281613886 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "200": 1859 | |
| }, | |
| "Sizes": { | |
| "Count": 1859, | |
| "Min": 935, | |
| "Max": 131072, | |
| "Sum": 82919127, | |
| "Avg": 44604.15653577192, | |
| "StdDev": 14360.57315151993, | |
| "Data": [ | |
| { | |
| "Start": 935, | |
| "End": 1000, | |
| "Percent": 0.37654653039268426, | |
| "Count": 7 | |
| }, | |
| { | |
| "Start": 20000, | |
| "End": 25000, | |
| "Percent": 14.846691769768693, | |
| "Count": 269 | |
| }, | |
| { | |
| "Start": 45000, | |
| "End": 50000, | |
| "Percent": 98.11726734803658, | |
| "Count": 1548 | |
| }, | |
| { | |
| "Start": 60000, | |
| "End": 70000, | |
| "Percent": 98.17105970952124, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 90000, | |
| "End": 100000, | |
| "Percent": 98.22485207100591, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 100000, | |
| "End": 131072, | |
| "Percent": 100, | |
| "Count": 33 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 1859, | |
| "Min": 933, | |
| "Max": 953, | |
| "Sum": 1745085, | |
| "Avg": 938.7224314147392, | |
| "StdDev": 3.3687465413473907, | |
| "Data": [ | |
| { | |
| "Start": 933, | |
| "End": 953, | |
| "Percent": 100, | |
| "Count": 1859 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:8000/posts/latest", | |
| "SocketCount": 1959, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| { | |
| "RunType": "HTTP", | |
| "Labels": "PHP7.3 - Laravel 5.8", | |
| "StartTime": "2019-03-25T06:46:22.480997203+03:00", | |
| "RequestedQPS": "1000", | |
| "RequestedDuration": "15s", | |
| "ActualQPS": 19.682599321857037, | |
| "ActualDuration": 17528172695, | |
| "NumThreads": 50, | |
| "Version": "1.3.2-pre", | |
| "DurationHistogram": { | |
| "Count": 345, | |
| "Min": 0.054184596, | |
| "Max": 2.584858333, | |
| "Sum": 813.0801901379999, | |
| "Avg": 2.356754174313043, | |
| "StdDev": 0.5193675607534071, | |
| "Data": [ | |
| { | |
| "Start": 0.054184596, | |
| "End": 0.060000000000000005, | |
| "Percent": 0.2898550724637681, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.09000000000000001, | |
| "End": 0.1, | |
| "Percent": 0.5797101449275363, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 0.1, | |
| "End": 0.2, | |
| "Percent": 1.1594202898550725, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.2, | |
| "End": 0.3, | |
| "Percent": 1.7391304347826086, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.3, | |
| "End": 0.4, | |
| "Percent": 2.318840579710145, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.4, | |
| "End": 0.5, | |
| "Percent": 2.898550724637681, | |
| "Count": 2 | |
| }, | |
| { | |
| "Start": 0.5, | |
| "End": 0.75, | |
| "Percent": 4.3478260869565215, | |
| "Count": 5 | |
| }, | |
| { | |
| "Start": 0.75, | |
| "End": 1, | |
| "Percent": 5.507246376811594, | |
| "Count": 4 | |
| }, | |
| { | |
| "Start": 1, | |
| "End": 2, | |
| "Percent": 11.304347826086957, | |
| "Count": 20 | |
| }, | |
| { | |
| "Start": 2, | |
| "End": 2.584858333, | |
| "Percent": 100, | |
| "Count": 306 | |
| } | |
| ], | |
| "Percentiles": [ | |
| { | |
| "Percentile": 50, | |
| "Value": 2.2551587825343136 | |
| }, | |
| { | |
| "Percentile": 75, | |
| "Value": 2.420008557767157 | |
| }, | |
| { | |
| "Percentile": 90, | |
| "Value": 2.5189184229068626 | |
| }, | |
| { | |
| "Percentile": 99, | |
| "Value": 2.5782643419906863 | |
| }, | |
| { | |
| "Percentile": 99.9, | |
| "Value": 2.584198933899069 | |
| } | |
| ] | |
| }, | |
| "Exactly": 0, | |
| "RetCodes": { | |
| "200": 345 | |
| }, | |
| "Sizes": { | |
| "Count": 345, | |
| "Min": 23717, | |
| "Max": 131072, | |
| "Sum": 15624859, | |
| "Avg": 45289.4463768116, | |
| "StdDev": 17803.452415986172, | |
| "Data": [ | |
| { | |
| "Start": 23717, | |
| "End": 25000, | |
| "Percent": 17.681159420289855, | |
| "Count": 61 | |
| }, | |
| { | |
| "Start": 45000, | |
| "End": 50000, | |
| "Percent": 96.52173913043478, | |
| "Count": 272 | |
| }, | |
| { | |
| "Start": 90000, | |
| "End": 100000, | |
| "Percent": 96.81159420289855, | |
| "Count": 1 | |
| }, | |
| { | |
| "Start": 100000, | |
| "End": 131072, | |
| "Percent": 100, | |
| "Count": 11 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "HeaderSizes": { | |
| "Count": 345, | |
| "Min": 933, | |
| "Max": 949, | |
| "Sum": 323783, | |
| "Avg": 938.5014492753623, | |
| "StdDev": 3.1587234971669473, | |
| "Data": [ | |
| { | |
| "Start": 933, | |
| "End": 949, | |
| "Percent": 100, | |
| "Count": 345 | |
| } | |
| ], | |
| "Percentiles": null | |
| }, | |
| "URL": "http://127.0.0.1:8000/posts/latest", | |
| "SocketCount": 395, | |
| "AbortOn": 0 | |
| } |
This file contains hidden or 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
| port 3333 = Adonisjs | |
| port 8000 = Laravel | |
| $ ./wrk -t4 -c100 -d30s http://127.0.0.1:3333/posts/latest | |
| Running 30s test @ http://127.0.0.1:3333/posts/latest | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 1.92s 65.53ms 2.00s 71.43% | |
| Req/Sec 22.50 13.35 50.00 68.12% | |
| 788 requests in 30.04s, 0.89GB read | |
| Socket errors: connect 0, read 0, write 0, timeout 781 | |
| Requests/sec: 26.23 | |
| Transfer/sec: 30.27MB | |
| $ ./wrk -t12 -c1000 -d90s http://127.0.0.1:3333/posts/latest | |
| Running 2m test @ http://127.0.0.1:3333/posts/latest | |
| 12 threads and 1000 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 0.00us 0.00us 0.00us -nan% | |
| Req/Sec 9.24 7.01 40.00 68.73% | |
| 427 requests in 1.50m, 492.77MB read | |
| Socket errors: connect 0, read 1129, write 38591125, timeout 427 | |
| Requests/sec: 4.74 | |
| Transfer/sec: 5.47MB | |
| $ ./wrk -t12 -c1000 -d90s http://127.0.0.1:3333/post/14825 | |
| Running 2m test @ http://127.0.0.1:3333/post/14825 | |
| 12 threads and 1000 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 1.49s 405.98ms 2.00s 68.57% | |
| Req/Sec 46.38 46.48 310.00 87.51% | |
| 30820 requests in 1.50m, 3.09GB read | |
| Socket errors: connect 0, read 0, write 0, timeout 30241 | |
| Requests/sec: 342.06 | |
| Transfer/sec: 35.11MB | |
| $ ./wrk -t4 -c100 -d30s http://127.0.0.1:8000/posts/latest | |
| Running 30s test @ http://127.0.0.1:8000/posts/latest | |
| 4 threads and 100 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 1.02s 579.59ms 1.96s 56.76% | |
| Req/Sec 6.11 3.49 20.00 54.60% | |
| 573 requests in 30.04s, 750.42MB read | |
| Socket errors: connect 0, read 573, write 0, timeout 536 | |
| Requests/sec: 19.07 | |
| Transfer/sec: 24.98MB | |
| $ ./wrk -t12 -c1000 -d90s http://127.0.0.1:8000/posts/latest | |
| Running 2m test @ http://127.0.0.1:8000/posts/latest | |
| 12 threads and 1000 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 1.30s 556.91ms 2.00s 59.63% | |
| Req/Sec 3.78 3.70 20.00 71.94% | |
| 1723 requests in 1.50m, 2.20GB read | |
| Socket errors: connect 0, read 1775, write 0, timeout 1614 | |
| Requests/sec: 19.12 | |
| Transfer/sec: 25.05MB | |
| $ ./wrk -t12 -c1000 -d90s http://127.0.0.1:8000/post/14825 | |
| Running 2m test @ http://127.0.0.1:8000/post/14825 | |
| 12 threads and 1000 connections | |
| Thread Stats Avg Stdev Max +/- Stdev | |
| Latency 1.51s 287.15ms 2.00s 73.83% | |
| Req/Sec 10.64 7.48 50.00 60.70% | |
| 3641 requests in 1.50m, 395.09MB read | |
| Socket errors: connect 0, read 3734, write 0, timeout 748 | |
| Requests/sec: 40.41 | |
| Transfer/sec: 4.39MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment