• Joined on 2026-04-07
dailz pushed to master at dailz/logViewer 2026-06-05 14:40:44 +08:00
9baec5ab69 fix(bench): refresh PreadReader index periodically in scroll_during_append (closes #36)
6dd87d2872 fix(bench): wrap file writes with BufWriter to reduce syscall overhead
Compare 2 commits »
dailz closed issue dailz/logViewer#36 2026-06-05 14:40:44 +08:00
🔴 [H3] scroll_during_append 使用过期 PreadReader 导致增长文件 benchmark 失真
dailz closed issue dailz/logViewer#35 2026-06-05 14:02:16 +08:00
🔴 [H4] 大文件生成未使用 BufWriter 导致 benchmark 数据准备极慢
dailz commented on issue dailz/logViewer#35 2026-06-05 14:02:10 +08:00
🔴 [H4] 大文件生成未使用 BufWriter 导致 benchmark 数据准备极慢

Fixed in 6dd87d2.

Root cause: writeln! directly on raw File — each line (~70 bytes) triggered a separate write syscall.

Fix: Wrapped all three write-heavy functions with BufWriter::with_capacity…

dailz pushed to master at dailz/logViewer 2026-06-05 13:34:10 +08:00
83f633a562 fix(bench): make can_reset_vm_hwm side-effect-free with open probe (closes #34)
dailz closed issue dailz/logViewer#34 2026-06-05 13:34:10 +08:00
🔴 [H2] can_reset_vm_hwm 查询权限时会重置 VmHWM 污染内存峰值
dailz commented on issue dailz/logViewer#33 2026-06-05 13:22:21 +08:00
🔴 [H1] mmap SIGBUS handler 并发安装会写 static mut 导致 UB

修复方案

经 Oracle 审核后采用 Once + 原始原子变量 方案,消除 static mut UB。

核心改动 (crates/bench/src/mmap_reader.rs)

dailz closed issue dailz/logViewer#33 2026-06-05 13:22:10 +08:00
🔴 [H1] mmap SIGBUS handler 并发安装会写 static mut 导致 UB
dailz pushed to master at dailz/logViewer 2026-06-05 13:22:10 +08:00
dad5f5a635 fix(bench): eliminate SIGBUS handler static mut UB with Once + raw atomics (closes #33)
dailz opened issue dailz/logViewer#45 2026-06-05 11:54:15 +08:00
🟡 [M20] append_lines 吞掉行计数 I/O 错误并从 0 继续编号
dailz opened issue dailz/logViewer#41 2026-06-05 11:54:15 +08:00
🟡 [M22] cold startup benchmark 因 clear_file_cache 失败被静默跳过
dailz opened issue dailz/logViewer#42 2026-06-05 11:54:15 +08:00
🟡 [M23] 小文件 single_frame_tail 与 head 重叠导致 render 数据误导
dailz opened issue dailz/logViewer#43 2026-06-05 11:54:15 +08:00
🟡 [M24] memory scroll_rss 的 lines_read 记录值不等于实际读取行数
dailz opened issue dailz/logViewer#44 2026-06-05 11:54:15 +08:00
🟡 [M25] truncate safety benchmark 首轮后文件规模改变导致迭代条件不一致
dailz opened issue dailz/logViewer#38 2026-06-05 11:54:14 +08:00
🟡 [M18] reset_vm_hwm 非权限错误被吞导致内存峰值污染无提示
dailz opened issue dailz/logViewer#37 2026-06-05 11:54:14 +08:00
🟡 [M17] bench --suites 拼写错误会静默运行 0 个套件
dailz opened issue dailz/logViewer#40 2026-06-05 11:54:14 +08:00
🟡 [M21] get_file_info 与 count_existing_lines 对无尾换行文件计数不一致
dailz opened issue dailz/logViewer#39 2026-06-05 11:54:14 +08:00
🟡 [M19] benchmark report variant 列顺序依赖输入顺序
dailz opened issue dailz/logViewer#33 2026-06-05 11:53:22 +08:00
🔴 [H1] mmap SIGBUS handler 并发安装会写 static mut 导致 UB
dailz opened issue dailz/logViewer#35 2026-06-05 11:53:22 +08:00
🔴 [H4] 大文件生成未使用 BufWriter 导致 benchmark 数据准备极慢