新一代 CRuby 分析器
新一代 Ruby 3.2.1+ 采样分析器。可跟踪多个线程、GVL 活动、GC 停顿、空闲时间等。
来自 Mastodon 的 Sidekiq 任务(时间、线程)
: https://share.firefox.dev/44jZRf3
来自 Mastodon 的 Puma 网页请求 (时间、线程)
: https://share.firefox.dev/48FOTnF
Rails benchmark - lobste.rs (时间)
: https://share.firefox.dev/3Ld89id
require "irb" (保留内存)
: https://share.firefox.dev/3DhLsFa
Vernier 需要 Ruby 3.2.1 或更高版本以及类 Unix 操作系统。
gem "vernier", "~> 1.0"输出可以在本地使用 https://vernier.prof, 的 Web 应用程序中查看,使用 profile-viewer gem(这两个都是与分析器兼容的 Firefox 分析器前端的轻微定制版),或者使用 CLI 中的 vernier view 命令。
Livestreamed demo: Pairin' with Aaron (YouTube) Overview at RubyKaigi 2024 (YouTube)
暂无开放 Issues,或尚未同步最近议题。