[all-commits] [llvm/llvm-project] 67ce4a: [llvm][mustache] Use single pass when tokenizing (...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Tue Nov 4 09:24:48 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 67ce4aba26172cda8fed90077e3393e98c22d2d2
https://github.com/llvm/llvm-project/commit/67ce4aba26172cda8fed90077e3393e98c22d2d2
Author: Paul Kirth <paulkirth at google.com>
Date: 2025-11-04 (Tue, 04 Nov 2025)
Changed paths:
M llvm/lib/Support/Mustache.cpp
Log Message:
-----------
[llvm][mustache] Use single pass when tokenizing (#159196)
The old implementation used many string searches over the same portions
of the strings. This version sacrifices some API niceness for perf wins.
| Metric | Baseline | Single-Pass | Change |
| --- | --- | --- | --- |
| Time (ms) | 36\.09 | 35\.78 | \-0.86% |
| Cycles | 35\.3M | 35\.0M | \-0.79% |
| Instructions | 86\.7M | 85\.8M | \-1.03% |
| Branch Misses | 116K | 114K | \-1.91% |
| Cache Misses | 244K | 232K | \-4.98% |
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list