在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
废话不多说,直接开干! 硬件配置
软件版本
比试选手
比试内容
比试场景
胜负评定
比试结果PlainText(100连接):
PlainText(1000连接):
MVC(100连接):
MVC(1000连接):
PS:看来asp.net core不是社区驱动的web框架啊,tieredcompilation对性能的提升还是挺明显的,不过现在还是preview版本,可能正式版的性能提升会更大。另外觉得测试有问题的或者不合理欢迎评论区留言。
附录:PlainText(100连接): iris: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s)
1000000 / 1000000 [=======================================================================================] 100.00% 9s
Done!
Statistics Avg Stdev Max
Reqs/sec 100890.93 14603.97 117701.58
Latency 0.99ms 106.80us 31.98ms
HTTP codes:
1xx - 0, 2xx - 1000000, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 18.76MB/s
aspnetcore: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s)
1000000 / 1000000 [=======================================================================================] 100.00% 8s
Done!
Statistics Avg Stdev Max
Reqs/sec 115900.67 10720.26 125724.81
Latency 0.86ms 109.38us 76.96ms
HTTP codes:
1xx - 0, 2xx - 1000000, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 20.99MB/s
aspnetcore-tieredcompilation: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s)
1000000 / 1000000 [=======================================================================================] 100.00% 8s
Done!
Statistics Avg Stdev Max
Reqs/sec 124023.27 13668.23 144797.03
Latency 805.52us 178.97us 67.96ms
HTTP codes:
1xx - 0, 2xx - 1000000, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 22.45MB/s
PlainText(1000连接): iris: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s) aspnetcore: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s) aspnetcore-tieredcompilation: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s)
MVC(100连接): iris: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s) aspnetcore: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s) aspnetcore-tieredcompilation: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 100 connection(s)
MVC(1000连接): iris: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s) aspnetcore: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s) aspnetcore-tieredcompilation: Bombarding http://localhost:5000/api/values/1 with 1000000 request(s) using 1000 connection(s) 博文参考:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论