aboutsummaryrefslogtreecommitdiffstats
path: root/models/item/item_bench_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Fix lint error and optimize linter config for local runsAdam Mathes8 days1-2/+2
|
* Add full_content benchmarks to quantify payload savings (NK-ekxfvv)Claude9 days1-0/+77
| | | | | | | | | Add BenchmarkFilter_15Items_WithFullContent, BenchmarkFilter_15Items_IncludeFullContent, and BenchmarkFilter_LargeDataset_WithFullContent. Items are seeded with realistic ~2KB full_content. Results show excluding full_content reduces B/op by ~40% (363KB vs 595KB for 15 items). https://claude.ai/code/session_01DpWhB9uGGMBnzqS28HxnuV
* Add performance benchmarks, stress tests, and frontend perf testsClaude9 days1-0/+219
Go benchmarks cover item CRUD/filter/sanitization, API endpoints (stream, item update, feed list), middleware stack (gzip, security headers, CSRF), and crawler pipeline (feed parsing, mocked crawl). Stress tests verify concurrent reads/writes and large dataset handling. Frontend perf tests measure template generation, DOM insertion, and store event throughput. New Makefile targets: bench, bench-short, stress, test-perf. https://claude.ai/code/session_01ChDVWFDrQoFjMYHpaLGr9s