Commit graph

683 commits

Author SHA1 Message Date
trvon
7f763587be
compat fix for macos builds 2025-11-14 14:38:17 -05:00
trvon
9259886cde
additional workpool removal 2025-11-14 14:13:54 -05:00
trvon
3032d1747b
fixing worker calls that were deleted 2025-11-14 12:57:03 -05:00
trvon
faeb4ae82a
fixing syntax error of deleted class 2025-11-14 12:49:09 -05:00
trvon
2913adcd20
pre-release v0.7.8 2025-11-14 11:58:19 -05:00
trvon
b06e9335b9
staging v0.7.8. running benchmarks on updated search engine and improving code for testing/benchmarking 2025-11-13 10:27:10 -05:00
trvon
352ee45a69
updating files with linter run nightly-20251111-352ee45 2025-11-11 10:11:27 -05:00
trvon
12fc1b8a50
resolved concurrency bugs in daemon. added fuzzing work in progress per issue #8 2025-11-11 10:10:07 -05:00
trvon
ebd0701054
search and retrieval optimizations leveraging parallel processing introduced with grep nightly-20251109-ebd0701 2025-11-09 08:42:21 -05:00
trvon
c1d6a992fc
feat(search): implement parallel post-processing (PBI-001 Phase 3)
Parallel Post-Processor with Threshold-Based Activation
--------------------------------------------------------
- New ParallelPostProcessor class (120 lines header, 247 lines impl)
- Uses std::async for concurrent facet/highlight/snippet generation
- Threshold = 100 results (sequential below, parallel at/above)
- Facets now operate on filtered results (fixed data flow bug)

Performance Results (100 iterations)
------------------------------------
- 100 results: 0.06ms (~1.66M ops/sec) - sequential path
- 500 results: 0.23ms (~2.21M ops/sec) - parallel path
- 1000 results: 0.43ms (~2.32M ops/sec) - parallel path
- Speedup: ~3.4x faster at 1000 results

Test Coverage
-------------
- 5 unit tests (threshold behavior, facets, snippets, edge cases)
- All tests passing (5/5 ✅)
- 3 benchmarks added to search_benchmarks.cpp

Files Changed
-------------
- include/yams/search/parallel_post_processor.hpp (NEW)
- src/search/parallel_post_processor.cpp (NEW)
- src/search/search_executor.cpp (integrated)
- tests/unit/search/search_executor_test.cpp (+6 tests)
- tests/benchmarks/search_benchmarks.cpp (+3 benchmarks)
- CHANGELOG.md (documented with measured results)
- docs/delivery/001/prd.md (Phase 3 → ✅ COMPLETED)

Technical Details
-----------------
- Parallel path: filtering → parallel(facets + highlights) → wait
- Sequential path: identical logic, no std::async overhead
- Correctness preserved: identical output to previous sequential impl
- Build: 46/46 targets compiling successfully
2025-11-09 08:04:15 -05:00
trvon
52d27169c9
re-running lint nightly-20251109-52d2716 2025-11-09 02:24:39 -05:00
trvon
66825f8219
grep bug fixes and performance improvements 2025-11-09 02:24:07 -05:00
trvon
f7d559b2a9
docs: update README with Homebrew installation and simplified init nightly-20251108-2707399 nightly-20251108-a597c6c nightly-20251108-f7d559b
- Add Homebrew installation section with brew link workaround
- Simplify Quick Start to use 'yams init .' for current directory
- Update caveats in formula template with cleaner instructions
- Add links to yamsmemory.ai docs
2025-11-08 15:48:15 -05:00
trvon
a597c6cf98
fix(homebrew): update template with working install paths
- Use local/* paths instead of usr/local/* (Homebrew strips usr)
- Use if/else for architecture URLs (on_arm/on_intel can't have url)
- Remove bundled spdlog to avoid conflicts
- Matches tested and working formula
2025-11-08 15:45:41 -05:00
trvon
2707399001
updating homebrew module 2025-11-08 15:11:45 -05:00
trvon
435bb14745
fix(homebrew): update template with correct install paths
- Use buildpath/ prefix for reliable file discovery
- Use .glob() method instead of Dir[]
- Matches fix applied to homebrew-yams repo
2025-11-08 15:08:06 -05:00
trvon
2fc5067a4d
fix(release): initialize yams-repo submodule for R2 uploads
- Add step to initialize external/yams-repo submodule before R2 upload
- Required to read bucket_name from wrangler.toml
- Fixes missing APT/YUM repos and latest.json in repo.yamsmemory.ai
2025-11-08 15:04:06 -05:00
trvon
8c6913d655
fix(homebrew): use pre-built binaries and update workflow
- Update template to use pre-built macOS binaries (arm64 + x86_64)
- Remove build-from-source approach (no more cmake/ENV.cxx20)
- Update release workflow to compute SHA256s for both architectures
- Simplify formula by removing build dependencies
2025-11-08 15:01:12 -05:00
trvon
d491081bd4
v0.7.7 re-release nightly-20251108-d491081 v0.7.7 2025-11-08 09:43:48 -05:00
trvon
b4c25bfbeb
CI fixes nightly-20251108-b4c25bf 2025-11-07 23:39:02 -05:00
trvon
4cad9a8152
mcp fix and ci / repo updates nightly-20251107-4cad9a8 nightly-20251107-8d79c8a 2025-11-07 15:51:23 -05:00
trvon
8d79c8a695
fixing release for x86 macos ci nightly-20251107-4702a34 2025-11-07 14:20:08 -05:00
trvon
4702a345ad
ci fixes, test updates and documentation imrpovements nightly-20251107-65bdf3d nightly-20251107-eba4721 2025-11-07 13:20:58 -05:00
trvon
65bdf3dac8
CI bug fixes 2025-11-07 11:37:02 -05:00
trvon
eba47216a3
search engine improvements 2025-11-07 11:08:32 -05:00
trvon
23d2b7043a
Merge branch 'main' of github.com:trvon/yams 2025-11-07 08:31:48 -05:00
trvon
db8c7decf9
build improvements for conan formula on macos 2025-11-07 08:31:29 -05:00
trvon
6bde08b60b
small UI and bug fixes 2025-11-06 21:55:58 -05:00
trvon
c0fde23eb5
small bug fixes for retrieval 2025-11-06 17:00:34 -05:00
trvon
d989da66dd
fixing prune command and tests fixes 2025-11-06 12:19:08 -05:00
trvon
1366eeeb1d
test fix 2025-11-06 09:14:41 -05:00
trvon
77b24ea4ba
Merge branch 'main' of github.com:trvon/yams 2025-11-06 09:14:10 -05:00
trvon
a7c14f54cc
Bug fixes for prune command and test improvements. 2025-11-06 09:13:29 -05:00
trvon
7907bc2460
stabilizations. removing http as I am not using it. Focusing on streamlining build and system 2025-11-06 09:13:04 -05:00
trvon
0cd1bd0b4c
stabilizations. removing http as I am not using it. Focusing on streamlining build and system 2025-11-05 10:52:27 -05:00
trvon
97cfe741e5
clang tidy fixes and macos crash fix 2025-11-04 18:31:58 -05:00
trvon
b9d73ea60e
additional improvements (check the changelog), and clang tidy fixes. working to stabilize build before v0.7.7 so the tag is deleted 2025-11-04 14:43:42 -05:00
trvon
9362ed785b
completing previous commit fix 2025-11-01 20:42:18 -04:00
trvon
9e9612106a
compat fixes for symbol extractor plugin 2025-11-01 20:29:33 -04:00
trvon
7d9dcd986d
additional ci fixes for docker and meson setup 2025-11-01 16:46:31 -04:00
trvon
49428ad508
ci fixes 2025-11-01 16:19:40 -04:00
trvon
166d8c520d
staging v0.7.7 2025-11-01 16:02:12 -04:00
trvon
ed7f10fb36
CI updates 2025-10-30 00:10:03 -04:00
trvon
1f74c81a76
adding experiemntal clause to readme 2025-10-29 23:38:13 -04:00
trvon
de2bf9b25b
adding local recipe 2025-10-29 23:21:07 -04:00
trvon
bbf23bb190
test migrations to catch2, service manager + socket server refactor for better startup performance. search bug fixes 2025-10-29 23:08:09 -04:00
trvon
61d5074c8b
import and linux fixes for linux builds 2025-10-24 15:03:12 -04:00
trvon
4135535c31
linux build fixes 2025-10-24 14:13:20 -04:00
trvon
d19a5d7b64
bug fixes and optimizations for v0.7.7. Finalizing tests, benchmarks and bug fixes prior to release 2025-10-24 12:49:00 -04:00
trvon
82f5748624
staging plugin updates 2025-10-23 23:47:28 -04:00