mirror of
https://github.com/bdbrown4/peltier.io.git
synced 2026-11-07 19:08:27 +00:00
Target selection (SPEC §6): comrak 0.53.0 (45c1995, BSD-2-Clause) and tokei 14.0.0 (fa44e51, MIT/Apache-2.0); both CPU-bound with pinned corpora (progit book 11MB; 8x replicated pinned trees, 221MB) and committed MANIFEST.sha256 + golden-output pins + regen scripts. Calibration: A/A null verdicts on both real workloads; taskset -c 2 pinning tightens the A/A CI from [0.938, 1.008] to [0.993, 1.008], making the 2% accept threshold meaningful in this container. Profiles (callgrind; perf unavailable): comrak allocator symbols 26.7% of Ir; tokei perform_multi_line_analysis 31.7%. Attempts (ledger + results/phase0/): - comrak class-1 target-cpu=native: null [0.983, 1.011], rejected-bench - comrak class-2 mimalloc swap: +4.6% [1.033, 1.058], 848 upstream tests green, golden byte-identical, ASan-proper clean; LSan flags 484B in onig (reachability false-positive analysis in case study) -> needs-human-review per SPEC §8 - tokei class-1 fat LTO+cgu=1: +1.6% [1.003, 1.026], real but under the 2% bar, rejected-bench Also: ledger-cli for manual rows, targets/ excluded from trust-layer workspace, corpora/build artifacts gitignored, case study written. Phase 0 exit criteria (>=10% verified win) not yet met; next hypotheses logged in results/phase0/attempts.md. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EcKPWQ3MQD4NdEHwar96u2
41 lines
3.2 KiB
Plaintext
41 lines
3.2 KiB
Plaintext
--------------------------------------------------------------------------------
|
|
Profile data file 'results/tokei/callgrind.out' (creator: callgrind-3.22.0)
|
|
--------------------------------------------------------------------------------
|
|
I1 cache:
|
|
D1 cache:
|
|
LL cache:
|
|
Timerange: Basic block 0 - 600400493
|
|
Trigger: Program termination
|
|
Profiled target: targets/tokei/workspace/target/release/tokei --sort code corpora/tokei/input (PID 17959, part 1)
|
|
Events recorded: Ir
|
|
Events shown: Ir
|
|
Event sort order: Ir
|
|
Thresholds: 99
|
|
Include dirs:
|
|
User annotated:
|
|
Auto-annotation: on
|
|
|
|
--------------------------------------------------------------------------------
|
|
Ir
|
|
--------------------------------------------------------------------------------
|
|
1,808,959,061 (100.0%) PROGRAM TOTALS
|
|
|
|
--------------------------------------------------------------------------------
|
|
Ir file:function
|
|
--------------------------------------------------------------------------------
|
|
572,758,799 (31.66%) ???:tokei::language::syntax::SyntaxCounter::perform_multi_line_analysis [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
172,785,648 ( 9.55%) ???:tokei::language::language_type::LanguageType::parse_lines [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
154,178,149 ( 8.52%) ./string/../sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:__memset_avx2_unaligned_erms [/usr/lib/x86_64-linux-gnu/libc.so.6]
|
|
146,199,746 ( 8.08%) ./string/../sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S:__memcmp_avx2_movbe [/usr/lib/x86_64-linux-gnu/libc.so.6]
|
|
104,071,008 ( 5.75%) ???:tokei::language::syntax::SyntaxCounter::try_perform_single_line_analysis [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
93,030,608 ( 5.14%) ???:memchr::arch::x86_64::avx2::packedpair::Finder::find_impl [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
75,136,592 ( 4.15%) ???:aho_corasick::automaton::try_find_fwd [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
71,820,456 ( 3.97%) ./string/../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:__memcpy_avx_unaligned_erms [/usr/lib/x86_64-linux-gnu/libc.so.6]
|
|
50,442,206 ( 2.79%) ???:memchr::arch::x86_64::avx2::memchr::One::find_raw_avx2 [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
28,664,232 ( 1.58%) ???:memchr::memmem::searcher::searcher_kind_avx2 [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
27,626,392 ( 1.53%) ???:<aho_corasick::util::prefilter::Memmem as aho_corasick::util::prefilter::PrefilterI>::find_in [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
26,582,656 ( 1.47%) ???:memchr::arch::x86_64::memchr::memchr_raw::find_avx2 [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
22,263,784 ( 1.23%) ???:memchr::arch::x86_64::avx2::memchr::Three::find_raw [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
20,246,771 ( 1.12%) ???:tokei::language::syntax::SyntaxCounter::perform_multi_line_analysis'2 [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|
|
20,005,440 ( 1.11%) ???:memchr::arch::x86_64::avx2::memchr::One::find_raw [/home/user/peltier.io/targets/tokei/workspace/target/release/tokei]
|