• 请不要在回答技术问题时复制粘贴 AI 生成的内容
justudy
V2EX  ›  程序员

如果看待使用 “hello world”来测试比对各种框架的性能?

  •  
  •   justudy · Jan 3, 2018 · 2427 views
    This topic created in 3074 days ago, the information mentioned may be changed or developed.

    简单的 hello world 感觉并不能代表什么,实际的业务会涉及到很多方面,db,cache,session,cookie,TemplateView 等等

    3 replies    2018-01-03 16:35:24 +08:00
    TIGERB
        1
    TIGERB  
       Jan 3, 2018
    只是反馈框架加载的消耗,还好吧
    jea
        2
    jea  
       Jan 3, 2018
    因为那是框架, 整个框架从加载到寻址到完成输出, 一个流程已经完了.
    具体的业务性能需要写业务的人来完成.

    我也觉得拿 hello word 来测试不合适, 但你能怎么着? 所有的框架都用同一套业务体系来测? 不合适, 没有这个规范的, 只有大家都会的 hello word!
    justudy
        3
    justudy  
    OP
       Jan 3, 2018
    @jea 是的,可能反映出一些框架的底层大致情况,但以此来判断框架的性能,感觉就有失公允了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5335 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 06:52 · PVG 14:52 · LAX 23:52 · JFK 02:52
    ♥ Do have faith in what you're doing.