Skip to content
Trending storyPast story

Rewind adds critical-path profiling command

1 report1 sourceupdated 4 days ago

What happened

AI digest

On Nov 24 the Hacker News front page reported that Rewind added a rewind time command, which analyzes a recording's critical path using Brendan Gregg's method. The command shows where runtime goes, which factors would end the run earlier, and can drill down to the matching source line. The report used a libuv build test as an example: 78.0 seconds of single-CPU time, a 47.4-second critical path, 67% of it asleep; epoll_pwait took 23.1 seconds and clock_nanosleep 8.53 seconds.

Written by AI from the coverage · updated 4 days ago

Coverage

Follow the reports to see the story from different sides.

Nov 24
  1. Hacker News front page
    Worshipping at the altar of Brendan Gregg

    Rewind 新增 rewind time 命令,可分析录制内容的关键路径,指出时间花在哪里、什么能让运行更早结束,并可下钻到对应源码行。对 libuv 构建测试的示例中,单 CPU 耗时 78.0 秒,关键路径 47.4 秒,其中 67% 处于睡眠状态(epoll_pwait 23.1 秒、clock_nanosleep 8.53 秒)。

Heat over time

Heat now 3·Comparable peak 10(Nov 24 20:00)·Comparable change over 24 hours -49%

02.557.510Nov 2420:00Nov 2511:00Nov 2603:00Nov 2618:00

The trend only compares accounts observed without gaps, so its range may be smaller than the current heat. Hover or tap the chart for each hour; the left and right arrow keys step through it.