TechEmpower 里的一些功能不完善的框架性能数据不具备真实性能意义,造成很多人的误解 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
请不要在回答技术问题时复制粘贴 AI 生成的内容
lesismal
V2EX    程序员

TechEmpower 里的一些功能不完善的框架性能数据不具备真实性能意义,造成很多人的误解

  •  
  •   lesismal
    lesismal 134 天前 1253 次点击
    这是一个创建于 134 天前的主题,其中的信息可能已经有所发展或是发生改变。

    知道这个问题几年了,一直没有发声。 go 社区的一些文章、帖子、评论,隔三差五就有新的内容传播这些错误的性能结论。 我喜欢 go 但是从不乱吹,例如对于性能的事实:如果都是功能完备、良好优化的框架,go 的框架不可能比 c/cpp/rust 框架性能更好。

    绝大多数开发者不会去阅读下这些得到不切实际性能结论的框架的测试代码是否合理。不只是国内开发者,老外开发者也一样,只看结论、人云亦云,甚至跟着一块传播。而且刚刚看到个 10w 订阅的老外 youtub up 主,做了视频去传播这些错误结论、没有对不切实际的性能框架做任何检验。

    技术应该真实、客观,所以开了个 issue 发发声,建议这种社区影响力比较大的性能测试项目不要搞这些假测试,而是尽量提供真实、公平、公正的数据: https://github.com/TechEmpower/FrameworkBenchmarks/issues/9916

    issue 内容也记录在这里:

    To avoid misleading: frameworks that do not implement basic HTTP functions should be removed #9916 Thanks to TechEmpower for providing the community with so many language/framework performance test results, which bring great reference value to everyone. Some frameworks are just 4th-layer frameworks(for TCP/UDP/UnixSocket...), which implement simple HTTP "\r\n" judgment to perform a request parsing, and then write back the HTTP response buffer. They do not have the basic conditions for being a production environment HTTP service, but they participated in this test and got a high/top performance results. Many users in the community do not really read the test code of these frameworks, so they do not know the truth, which causes a lot of miscommunication, making users mistakenly believe that some frameworks or even languages can achieve unrealistic performance. As a performance testing project with great influence, it should be fair and just, so I suggest removing these frameworks with incomplete functions. If you want to test the 4th-layer performance of these not full-feature HTTP frameworks, you should open a separate test item/combination instead of comparing the 4th-layer framework(with fake HTTP implementation) with the HTTP framework. 
    目前尚无回复
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     1171 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 23:37 PVG 07:37 LAX 16:37 JFK 19:37
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86