summaryrefslogtreecommitdiff
path: root/TOOD.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-04 15:35:16 +0300
committerPaul Buetow <paul@buetow.org>2025-07-04 15:35:16 +0300
commitd37f32deb6cd6a575cc169adf1a1c1fba44e53d9 (patch)
treeaaf5f6abc90066892a6a23cb619969ddd4ef5574 /TOOD.md
parent1249f9ec51b1355ca17f73244dcbe0acc5556516 (diff)
feat: add Profile-Guided Optimization (PGO) support
- Add comprehensive PGO module in internal/tools/pgo/ - Integrate PGO into dtail-tools command with full CLI support - Add Makefile targets for PGO workflow: - make pgo: Full PGO workflow - make pgo-quick: Quick PGO with smaller datasets - make pgo-generate: Generate profiles only - make build-pgo: Build with existing profiles - make install-pgo: Install optimized binaries - Add convenience functions to data generator for PGO - Document PGO workflow in CLAUDE.md Performance improvements observed: - DCat: 3.8-7.0% additional improvement over turbo mode - DGrep: Up to 19% improvement for low hit rates - DMap: Variable impact, up to 64% for min_max on large files Benchmarks show total performance gains (pre-turbo → turbo+PGO): - DCat: 14-21x faster - DGrep: 9-15x faster - DMap: 9-29% faster 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'TOOD.md')
-rw-r--r--TOOD.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/TOOD.md b/TOOD.md
index b967bcc..02f9770 100644
--- a/TOOD.md
+++ b/TOOD.md
@@ -1,3 +1 @@
# To-do's
-
-* In turbo mode, Perform PGO (profile-guided optimization) on the dcat, dgrep and dmap commands. Compare benchmarks before and after and create a new baseline for it in ./benchmarks/baselines. For the PGO, create a similar framework as the benchmarking. You can code the PGO procedure as an option to the dtail-tools command. Use the benchmark files for the PGO as a reference. Once implemented and working, you can remove this item from the todo list here.