dvaknheo
V2EX  ›  PHP

thinkphp 为什么不参加 TechEmpower FrameworkBenchmarks 性能测试比赛

  •  
  •   dvaknheo · Oct 23, 2020 · 4003 views
    This topic created in 2055 days ago, the information mentioned may be changed or developed.

    tp 的性能,尽管性能不是最重要 但应该有信心在 laravel 之上吧。

    性能较快的 kumbiaphp 在测试中为性能而性能,比普通代码偏差不少 ubiquity 则是全平台而且不用特意改代码来测试。

    7 replies    2020-11-12 20:30:30 +08:00
    ben1024
        1
    ben1024  
       Oct 23, 2020
    作者没有兴趣陷入比赛中更看中业务实现吧,可以直接 @tp 作者来回答
    topthink
        2
    topthink  
       Oct 24, 2020
    问题 是性能比 Laravel 好又能怎样呢?很多人就会因此用 TP 么
    wh1012023498
        3
    wh1012023498  
       Oct 24, 2020
    = = ! 如果 benchmark 仅仅只是 单纯 响应多少次 hello world 这类形式的话。 那无疑 不用框架更快。但= =没啥意义哟。
    选用框架 更多会从 生态是否繁重、招人是否困难、管理者对框架的熟悉程度、历史包袱 等方面 去考虑。

    极端点讲:性能从来不是框架选型的核心指标,如果是的话 Phalcon 早就应该干死 Laravel 了。
    nonfu
        4
    nonfu  
       Oct 25, 2020
    @wh1012023498 正解 如果唯性能论整个 PHP 生态都不服存在了
    dvaknheo
        5
    dvaknheo  
    OP
       Oct 26, 2020
    @topthink 会让老外也知道中国有这么一个影响很大的框架。
    ben1024
        6
    ben1024  
       Oct 27, 2020
    @topthink 可能会多一部分人使用 TP
    Magician
        7
    Magician  
       Nov 12, 2020
    tp 很好用啊 反正我写 js
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   925 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 21:29 · PVG 05:29 · LAX 14:29 · JFK 17:29
    ♥ Do have faith in what you're doing.