Skip navigation
hotpath-rs 是一个帮开发者找出 Rust 程序为什么慢、内存花在哪里的工具。它能检查哪些代码最耗时、数据库查询和网络请求是否拖慢了程序,以及多个任务有没有互相等待。
0:00 / 0:46

hotpath-rs 是一个帮开发者找出 Rust 程序为什么慢、内存花在哪里的工具。它能检查哪些代码最耗时、数据库查询和网络请求是否拖慢了程序,以及多个任务有没有互相等待。

lencx

@lencx_23K followers

Visit on X
194 likesDownloadOriginal post

13,149 views

hotpath-rs 是一个帮开发者找出 Rust 程序为什么慢、内存花在哪里的工具。它能检查哪些代码最耗时、数据库查询和网络请求是否拖慢了程序,以及多个任务有没有互相等待。结果会显示在实时面板和报告中,帮助开发者判断该优先优化哪里,也能交给 AI 助手辅助分析。

11 Comments

Comments from the original post on X (Twitter)

  • Pawel Urbanek's profile picture

    @pawelurbanekcom

    author here, awesome to see it featured. Also see the recently released hotpath Cloud, now in beta

    3 likes

  • HeihutuRs's profile picture

    @heihuturs

    RustFS 一直在使用

    1 like

  • alias's profile picture

    @loadingalias

    I’ve followed @pawelurbanekcom’a work on hotpath-rs for like a year now. Something like that, like v0.2 something. He has done a fucking awesome job with hotpath. It’s an amazing tool. He deserves a follow. He’s worth watching.

    1 like

  • GlowJames 追光🐬's profile picture

    @jameszz343698

    我就想问,是给AI Agent用的不,如果不是,可以改造下

  • lencx's profile picture

    @lencx_

    看这里

    1 like

  • GlowJames 追光🐬's profile picture

    @jameszz343698

    谢谢!

  • Just kidding's profile picture

    @ijstkidding

    Вау, вы изобрели flamegraph, ахуй

  • 晚晚's profile picture

    @An_yhl

    能把任务互相等待也揪出来,这个挺实用。

  • 逆局玩家's profile picture

    @ntyxg

    能把任务互相等待的时间拎出来看就很有用,光盯函数耗时容易找错地方。

  • Crio Songo's profile picture

    @shuizhuyu

    这个点抓得挺准,很多性能瓶颈其实就是任务等待导致的,光看单函数耗时确实找不到问题。

  • 泰多宝's profile picture

    @TabDuoBao

    async 程序慢,多半慢在任务互相等待,火焰图上看不出来。hotpath 把这部分单独列出来,是最实用的一点。