nyxsonsleep
V2EX  ›  问与答

为什么 perf script 出来的数据不完整?

  •  
  •   nyxsonsleep · Aug 22, 2024 · 869 views
    This topic created in 634 days ago, the information mentioned may be changed or developed.

    我在 node 程序中添加了三个函数,内容类似,都是调用+= /=之类的耗时动作。

    但是我每次最后 script 出来的结果总是不全,有时只有 1 个,有时 2 个,很少 3 个同时出现在结果里。

    我看了 perf.map 里面是三个函数都有的。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5645 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 06:06 · PVG 14:06 · LAX 23:06 · JFK 02:06
    ♥ Do have faith in what you're doing.