Skip to content

feat(profiling): query profile report model + JSON/CSV (LOC-66, P1)#70

Merged
dev07060 merged 2 commits into
mainfrom
feat/loc-66-profiler-stats-report
May 31, 2026
Merged

feat(profiling): query profile report model + JSON/CSV (LOC-66, P1)#70
dev07060 merged 2 commits into
mainfrom
feat/loc-66-profiler-stats-report

Conversation

@dev07060

Copy link
Copy Markdown
Owner

P1 of 온디바이스 쿼리 프로파일러 (host-only, no device)

프로파일러의 결과 모델 + 직렬화. 순수 로직, 기기 불필요.

  • example/lib/profiling/query_profile_report.dart: SegmentSamples / QueryProfileRun / QueryProfileReport — 세그먼트 샘플을 기존 BenchmarkService.summarizeSamples로 집계(중복 stats 메서드 추가 안 함), JSON/CSV 직렬화, ffiOverheadMs(Dart−Rust, clamp 0).
  • example/test/profiling/query_profile_report_test.dart: 4 테스트(집계/직렬화, ffiOverhead+clamp, CSV행+toJson, empty-segment) — 4/4 green.

계획 대비 변경 (DRY)

원안 P1.1 statsFromSamples폐기 — 기존 summarizeSamples(samples, warmupIterations:0)가 동일 기능. 중복 제거.

리뷰

spec-compliance ✅ / code-quality ✅ (analyzer clean). Claude 귀속 없음.

머지 순서

이 PR은 example/만 건드려 #69(스펙+계획 docs)와 충돌 없음·독립 — 순서 무관. 저널 PR-P1.md/README 행 동기화는 #69 머지 후 정리.
P2–P4는 실기 연결 후 진행. 머지는 본인(CI green 후).

@linear-code

linear-code Bot commented May 31, 2026

Copy link
Copy Markdown

LOC-66

@dev07060 dev07060 merged commit b61c9f1 into main May 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant