- Introduced `profile_comprehensive.py` for detailed performance analysis of the NoteFlow backend, covering audio processing, ORM conversions, Protobuf operations, async overhead, and gRPC simulations. - Implemented options for cProfile, verbose output, and memory profiling to enhance profiling capabilities. - Updated `asr_config_service.py` to improve engine reference handling and added observability tracing during reconfiguration. - Enhanced gRPC service shutdown procedures to include cancellation of sync tasks and improved lifecycle management. - Refactored various components to ensure proper cleanup and resource management during shutdown. - Updated client submodule to the latest commit for improved integration.
25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|
"generated_at": "2026-01-14T04:30:39.258014+00:00",
|
|
"rules": {
|
|
"deep_nesting": [
|
|
"deep_nesting|src/noteflow/application/services/asr_config_service.py|_execute_reconfiguration|depth=3",
|
|
"deep_nesting|src/noteflow/application/services/asr_config_service.py|shutdown|depth=3",
|
|
"deep_nesting|src/noteflow/grpc/_mixins/diarization/_jobs.py|_execute_diarization|depth=3",
|
|
"deep_nesting|src/noteflow/grpc/_mixins/sync.py|perform_sync|depth=3",
|
|
"deep_nesting|src/noteflow/grpc/_service_shutdown.py|cancel_sync_tasks|depth=3"
|
|
],
|
|
"god_class": [
|
|
"god_class|src/noteflow/application/services/asr_config_service.py|AsrConfigService|methods=16"
|
|
],
|
|
"long_method": [
|
|
"long_method|src/noteflow/grpc/_mixins/sync.py|perform_sync|lines=60"
|
|
],
|
|
"module_size_soft": [
|
|
"module_size_soft|src/noteflow/application/services/asr_config_service.py|module|lines=361",
|
|
"module_size_soft|src/noteflow/grpc/_mixins/diarization/_jobs.py|module|lines=372",
|
|
"module_size_soft|src/noteflow/grpc/_mixins/sync.py|module|lines=384"
|
|
]
|
|
},
|
|
"schema_version": 1
|
|
}
|