<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Benchmark on 梦兽编程</title><link>https://rexai.top/tags/benchmark/</link><description>Recent content in Benchmark on 梦兽编程</description><generator>Hugo -- 0.163.3</generator><language>zh-cn</language><copyright>梦兽编程</copyright><lastBuildDate>Mon, 10 Aug 2026 06:30:00 +0800</lastBuildDate><atom:link href="https://rexai.top/tags/benchmark/index.xml" rel="self" type="application/rss+xml"/><item><title>一个 if 拖慢 Rust 代码 4 倍：CPU 一直在替你"瞎猜"</title><link>https://rexai.top/languages/rust/2026-08-10-rust-branchless-filter-if/</link><pubDate>Mon, 10 Aug 2026 06:30:00 +0800</pubDate><guid>https://rexai.top/languages/rust/2026-08-10-rust-branchless-filter-if/</guid><description>过滤 100 万个浮点数，为什么留下一半时反而最慢？本文复现 HN 290 赞热帖的分支预测实验：Windows + i5-12400F + rustc 1.97.1 实测，无分支写法把最坏情况从 5.1ms 压到 1.5ms（快 3.4 倍），并讲清这种优化什么时候该用、什么时候反而更慢</description></item></channel></rss>