{
  "version": "1.0",
  "total_tasks": 105,
  "base_image": "codeflash-inference-base:latest",
  "codeflash_version": "0.20.5",
  "repo": "roboflow/inference",
  "category": "code-performance",
  "language": "python",
  "tasks": [
    {
      "name": "models-prepare_multi_label_classification_response",
      "function": "prepare_multi_label_classification_response",
      "file": "inference/core/models/inference_models_adapters.py",
      "measured_speedup": 66789.5,
      "tests": "32/32",
      "coverage_pct": 100.0,
      "db_speedup_x": 68465.46
    },
    {
      "name": "introspection-prepare_operators_descriptions",
      "function": "prepare_operators_descriptions",
      "file": "inference/core/workflows/core_steps/common/query_language/introspection/core.py",
      "measured_speedup": 15182.1,
      "tests": "1057/1057",
      "coverage_pct": 100.0,
      "db_speedup_x": 14150.75
    },
    {
      "name": "decorators-withfixedsizecache-memory_pressure_detected",
      "function": "WithFixedSizeCache.memory_pressure_detected",
      "file": "inference/core/managers/decorators/fixed_size_cache.py",
      "measured_speedup": 1352.7413,
      "tests": "132/132",
      "coverage_pct": 100.0,
      "db_speedup_x": 917.09
    },
    {
      "name": "depth_anything_v3-inferencemodelsdepthanythingv3adapter-predict",
      "function": "InferenceModelsDepthAnythingV3Adapter.predict",
      "file": "inference/models/depth_anything_v3/depth_anything_v3_inference_models.py",
      "measured_speedup": 336.1815,
      "tests": "36/36",
      "coverage_pct": 100.0,
      "db_speedup_x": 391.52
    },
    {
      "name": "detection_event_log-detectioneventlogblockv1-_evict_oldest_video",
      "function": "DetectionEventLogBlockV1._evict_oldest_video",
      "file": "inference/core/workflows/core_steps/analytics/detection_event_log/v1.py",
      "measured_speedup": 332.803,
      "tests": "170/170",
      "coverage_pct": 100.0,
      "db_speedup_x": 15.92
    },
    {
      "name": "camera-_generate_grid_colors",
      "function": "_generate_grid_colors",
      "file": "inference/core/interfaces/camera/test_pattern_producer.py",
      "measured_speedup": 286.6,
      "tests": "1901/1901",
      "coverage_pct": 100.0,
      "db_speedup_x": 218.3
    },
    {
      "name": "workflow_caller-_check_workflow_for_circular_references",
      "function": "_check_workflow_for_circular_references",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 26.9,
      "tests": "41/41",
      "coverage_pct": 100.0,
      "db_speedup_x": 11.84
    },
    {
      "name": "semantic_segmentation-blockmanifest-describe_outputs",
      "function": "BlockManifest.describe_outputs",
      "file": "inference/core/workflows/core_steps/models/roboflow/semantic_segmentation/v1.py",
      "measured_speedup": 19.8137,
      "tests": "2539/2539",
      "coverage_pct": 100.0,
      "db_speedup_x": 21.92
    },
    {
      "name": "dynamic_blocks-build_traceback_string",
      "function": "build_traceback_string",
      "file": "inference/core/workflows/execution_engine/v1/dynamic_blocks/block_scaffolding.py",
      "measured_speedup": 20.6,
      "tests": "2047/2047",
      "coverage_pct": 100.0,
      "db_speedup_x": 13.38
    },
    {
      "name": "bytetrack-bytetrackmanifest-describe_outputs",
      "function": "ByteTrackManifest.describe_outputs",
      "file": "inference/core/workflows/core_steps/trackers/bytetrack/v1.py",
      "measured_speedup": 19.1115,
      "tests": "3033/3033",
      "coverage_pct": 100.0,
      "db_speedup_x": 17.56
    },
    {
      "name": "workflow_caller-_describe_outputs_from_spec",
      "function": "_describe_outputs_from_spec",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 14.1,
      "tests": "25/25",
      "coverage_pct": 100.0,
      "db_speedup_x": 12.94
    },
    {
      "name": "event_writer-_extract_detail",
      "function": "_extract_detail",
      "file": "inference/enterprise/workflows/enterprise_blocks/sinks/event_writer/v1.py",
      "measured_speedup": 16.7,
      "tests": "43/43",
      "coverage_pct": 100.0,
      "db_speedup_x": 13.46
    },
    {
      "name": "managers-try_releasing_cuda_memory",
      "function": "try_releasing_cuda_memory",
      "file": "inference/core/managers/base.py",
      "measured_speedup": 15.3,
      "tests": "1006/1006",
      "coverage_pct": 90.9,
      "db_speedup_x": 1.22
    },
    {
      "name": "s3-deduct_csv_header",
      "function": "deduct_csv_header",
      "file": "inference/core/workflows/core_steps/sinks/s3/v1.py",
      "measured_speedup": 12.8,
      "tests": "54/54",
      "coverage_pct": 100.0,
      "db_speedup_x": 8.9
    },
    {
      "name": "cache-_slugify_model_id",
      "function": "_slugify_model_id",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 13.8,
      "tests": "1050/1050",
      "coverage_pct": 100.0,
      "db_speedup_x": 11.21
    },
    {
      "name": "sort-sortmanifest-describe_outputs",
      "function": "SORTManifest.describe_outputs",
      "file": "inference/core/workflows/core_steps/trackers/sort/v1.py",
      "measured_speedup": 19.1511,
      "tests": "8036/8036",
      "coverage_pct": 100.0,
      "db_speedup_x": 17.16
    },
    {
      "name": "dynamic_blocks-create_dynamic_module",
      "function": "create_dynamic_module",
      "file": "inference/core/workflows/execution_engine/v1/dynamic_blocks/block_scaffolding.py",
      "measured_speedup": 11.0,
      "tests": "142/142",
      "coverage_pct": 86.8,
      "db_speedup_x": 12.31
    },
    {
      "name": "dataset_upload-roboflowdatasetuploadblockv2-run",
      "function": "RoboflowDatasetUploadBlockV2.run",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v2.py",
      "measured_speedup": 10.1044,
      "tests": "13/13",
      "coverage_pct": 100.0,
      "db_speedup_x": 9.14
    },
    {
      "name": "glm_ocr-blockmanifest-describe_outputs",
      "function": "BlockManifest.describe_outputs",
      "file": "inference/core/workflows/core_steps/models/foundation/glm_ocr/v1.py",
      "measured_speedup": 8.4036,
      "tests": "1035/1035",
      "coverage_pct": 100.0,
      "db_speedup_x": 9.33
    },
    {
      "name": "qwen3_5vl-blockmanifest-describe_outputs",
      "function": "BlockManifest.describe_outputs",
      "file": "inference/core/workflows/core_steps/models/foundation/qwen3_5vl/v1.py",
      "measured_speedup": 8.081,
      "tests": "3228/3228",
      "coverage_pct": 100.0,
      "db_speedup_x": 7.3
    },
    {
      "name": "http-with_route_exceptions",
      "function": "with_route_exceptions",
      "file": "inference/core/interfaces/http/error_handlers.py",
      "measured_speedup": 6.9,
      "tests": "1297/1297",
      "coverage_pct": 100.0,
      "db_speedup_x": 6.89
    },
    {
      "name": "introspection-prepare_operations_descriptions",
      "function": "prepare_operations_descriptions",
      "file": "inference/core/workflows/core_steps/common/query_language/introspection/core.py",
      "measured_speedup": 6.3,
      "tests": "147/147",
      "coverage_pct": 100.0,
      "db_speedup_x": 6.26
    },
    {
      "name": "qwen3_5vl-qwen35vlblockv1-run_remotely",
      "function": "Qwen35VLBlockV1.run_remotely",
      "file": "inference/core/workflows/core_steps/models/foundation/qwen3_5vl/v1.py",
      "measured_speedup": 6.3139,
      "tests": "23/23",
      "coverage_pct": 100.0,
      "db_speedup_x": 5.64
    },
    {
      "name": "core_steps-load_kinds",
      "function": "load_kinds",
      "file": "inference/core/workflows/core_steps/loader.py",
      "measured_speedup": 4.8,
      "tests": "1153/1153",
      "coverage_pct": 100.0,
      "db_speedup_x": 3.68
    },
    {
      "name": "depth_anything_v2-inferencemodelsdepthanythingv2adapter-predict",
      "function": "InferenceModelsDepthAnythingV2Adapter.predict",
      "file": "inference/models/depth_anything_v2/depth_anything_v2_inference_models.py",
      "measured_speedup": 5.4481,
      "tests": "38/38",
      "coverage_pct": 100.0,
      "db_speedup_x": 5.03
    },
    {
      "name": "qwen3_5vl-inferencemodelsqwen35vladapter-predict",
      "function": "InferenceModelsQwen35VLAdapter.predict",
      "file": "inference/models/qwen3_5vl/qwen3_5vl_inference_models.py",
      "measured_speedup": 4.8795,
      "tests": "2275/2275",
      "coverage_pct": 100.0,
      "db_speedup_x": 3.72
    },
    {
      "name": "core-_prepare_workflow_response_cache_key",
      "function": "_prepare_workflow_response_cache_key",
      "file": "inference/core/roboflow_api.py",
      "measured_speedup": 3.0,
      "tests": "7539/7539",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.39
    },
    {
      "name": "event_writer-_detections_to_v2_instance_segmentations",
      "function": "_detections_to_v2_instance_segmentations",
      "file": "inference/enterprise/workflows/enterprise_blocks/sinks/event_writer/v1.py",
      "measured_speedup": 2.3,
      "tests": "36/36",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.18
    },
    {
      "name": "managers-modelmanager-_dispose_model_lock",
      "function": "ModelManager._dispose_model_lock",
      "file": "inference/core/managers/base.py",
      "measured_speedup": 2.3076,
      "tests": "2784/2784",
      "coverage_pct": 100.0,
      "db_speedup_x": 3.24
    },
    {
      "name": "compiler-establish_step_execution_dimensionality",
      "function": "establish_step_execution_dimensionality",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 2.7,
      "tests": "47/47",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.37
    },
    {
      "name": "qwen3vl-inferencemodelsqwen3vladapter-map_inference_kwargs",
      "function": "InferenceModelsQwen3VLAdapter.map_inference_kwargs",
      "file": "inference/models/qwen3vl/qwen3vl_inference_models.py",
      "measured_speedup": 2.2835,
      "tests": "1125/1125",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.39
    },
    {
      "name": "semantic_segmentation-roboflowsemanticsegmentationmodelblockv1-_convert_to_sv_de",
      "function": "RoboflowSemanticSegmentationModelBlockV1._convert_to_sv_detections",
      "file": "inference/core/workflows/core_steps/models/roboflow/semantic_segmentation/v1.py",
      "measured_speedup": 2.5622,
      "tests": "13/13",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.22
    },
    {
      "name": "models-baseinference-infer",
      "function": "BaseInference.infer",
      "file": "inference/core/models/base.py",
      "measured_speedup": 2.2322,
      "tests": "1037/1037",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.32
    },
    {
      "name": "clip_comparison-blockmanifest-get_required_cache_artifacts",
      "function": "BlockManifest.get_required_cache_artifacts",
      "file": "inference/core/workflows/core_steps/models/foundation/clip_comparison/v2.py",
      "measured_speedup": 1.642,
      "tests": "130/130",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.04
    },
    {
      "name": "text_display-clamp_box",
      "function": "clamp_box",
      "file": "inference/core/workflows/core_steps/visualizations/text_display/utils.py",
      "measured_speedup": 1.0,
      "tests": "1210/1210",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.8
    },
    {
      "name": "compiler-verify_compatibility_of_input_data_lineage_with_control_flow_lineage",
      "function": "verify_compatibility_of_input_data_lineage_with_control_flow_lineage",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 2.0286,
      "tests": "39/39",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.11
    },
    {
      "name": "introspection-_get_property_name_options",
      "function": "_get_property_name_options",
      "file": "inference/core/workflows/core_steps/common/query_language/introspection/core.py",
      "measured_speedup": 1.0,
      "tests": "1053/1053",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.52
    },
    {
      "name": "execution_data_manager-executiondatamanager-_register_control_flow_output_for_no",
      "function": "ExecutionDataManager._register_control_flow_output_for_non_simd_step",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/manager.py",
      "measured_speedup": 1.9653,
      "tests": "32/32",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.65
    },
    {
      "name": "compiler-_collect_unique_control_flow_lineages_with_step_mapping",
      "function": "_collect_unique_control_flow_lineages_with_step_mapping",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 1.874,
      "tests": "33/33",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.95
    },
    {
      "name": "mask_area_measurement-maskareameasurementblockv1-run",
      "function": "MaskAreaMeasurementBlockV1.run",
      "file": "inference/core/workflows/core_steps/classical_cv/mask_area_measurement/v1.py",
      "measured_speedup": 2.2379,
      "tests": "39/39",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.65
    },
    {
      "name": "entities-workflowimagedata-copy_and_replace",
      "function": "WorkflowImageData.copy_and_replace",
      "file": "inference/core/workflows/execution_engine/entities/base.py",
      "measured_speedup": 1.91,
      "tests": "2336/2336",
      "coverage_pct": 72.1,
      "db_speedup_x": 2.04
    },
    {
      "name": "compiler-separate_control_flow_predecessors_from_data_providers",
      "function": "separate_control_flow_predecessors_from_data_providers",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 1.0,
      "tests": "34/34",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.87
    },
    {
      "name": "core-_forcetracerootsampler-get_description",
      "function": "_ForceTraceRootSampler.get_description",
      "file": "inference/core/telemetry.py",
      "measured_speedup": 2.0378,
      "tests": "3244/3244",
      "coverage_pct": 100.0,
      "db_speedup_x": 2.03
    },
    {
      "name": "enterprise_blocks-load_enterprise_blocks",
      "function": "load_enterprise_blocks",
      "file": "inference/enterprise/workflows/enterprise_blocks/loader.py",
      "measured_speedup": 1.5022,
      "tests": "1936/1936",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.45
    },
    {
      "name": "event_writer-_build_event_data",
      "function": "_build_event_data",
      "file": "inference/enterprise/workflows/enterprise_blocks/sinks/event_writer/v1.py",
      "measured_speedup": 1.9739,
      "tests": "4732/4732",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.74
    },
    {
      "name": "cache-get_cached_foundation_models",
      "function": "get_cached_foundation_models",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.718,
      "tests": "32/32",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.46
    },
    {
      "name": "compiler-step_definition_allows_control_flow_references",
      "function": "step_definition_allows_control_flow_references",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 1.74,
      "tests": "27/27",
      "coverage_pct": 22.5,
      "db_speedup_x": 1.86
    },
    {
      "name": "dataset_upload-maybe_register_datapoint_at_roboflow",
      "function": "maybe_register_datapoint_at_roboflow",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v2.py",
      "measured_speedup": 1.72,
      "tests": "1039/1039",
      "coverage_pct": 55.6,
      "db_speedup_x": 1.47
    },
    {
      "name": "introspection-retrieve_selectors_from_union_definition",
      "function": "retrieve_selectors_from_union_definition",
      "file": "inference/core/workflows/execution_engine/introspection/schema_parser.py",
      "measured_speedup": 1.69,
      "tests": "36/36",
      "coverage_pct": 22.2,
      "db_speedup_x": 1.98
    },
    {
      "name": "introspection-_ref_to_def_name",
      "function": "_ref_to_def_name",
      "file": "inference/core/workflows/core_steps/common/query_language/introspection/core.py",
      "measured_speedup": 1.4599,
      "tests": "1344/1344",
      "coverage_pct": 100.0,
      "db_speedup_x": 1.51
    },
    {
      "name": "mask_area_measurement-compute_detection_areas",
      "function": "compute_detection_areas",
      "file": "inference/core/workflows/core_steps/classical_cv/mask_area_measurement/v1.py",
      "measured_speedup": 1.61,
      "tests": "24/24",
      "coverage_pct": 83.0,
      "db_speedup_x": 1.46
    },
    {
      "name": "managers-list_files",
      "function": "list_files",
      "file": "inference/core/managers/inference_models_cache_watchdog.py",
      "measured_speedup": 1.6,
      "tests": "99/99",
      "coverage_pct": 8.9,
      "db_speedup_x": 1.66
    },
    {
      "name": "dynamic_blocks-assembly_custom_python_block",
      "function": "assembly_custom_python_block",
      "file": "inference/core/workflows/execution_engine/v1/dynamic_blocks/block_scaffolding.py",
      "measured_speedup": 1.56,
      "tests": "135/135",
      "coverage_pct": 36.7,
      "db_speedup_x": 1.61
    },
    {
      "name": "compiler-is_control_flow_step",
      "function": "is_control_flow_step",
      "file": "inference/core/workflows/execution_engine/v1/compiler/utils.py",
      "measured_speedup": 1.49,
      "tests": "1830/1830",
      "coverage_pct": 15.3,
      "db_speedup_x": 1.34
    },
    {
      "name": "qwen3_5vl-inferencemodelsqwen35vladapter-map_inference_kwargs",
      "function": "InferenceModelsQwen35VLAdapter.map_inference_kwargs",
      "file": "inference/models/qwen3_5vl/qwen3_5vl_inference_models.py",
      "measured_speedup": 1.48,
      "tests": "1549/1549",
      "coverage_pct": 64.9,
      "db_speedup_x": 1.53
    },
    {
      "name": "core-_url_for_safe_logging",
      "function": "_url_for_safe_logging",
      "file": "inference/core/roboflow_api.py",
      "measured_speedup": 1.47,
      "tests": "1055/1055",
      "coverage_pct": 2.8,
      "db_speedup_x": 1.47
    },
    {
      "name": "usage_tracking-usagecollector-_compute_execution_duration",
      "function": "UsageCollector._compute_execution_duration",
      "file": "inference/usage_tracking/collector.py",
      "measured_speedup": 1.46,
      "tests": "2017/2017",
      "coverage_pct": 27.5,
      "db_speedup_x": 1.55
    },
    {
      "name": "execution_data_manager-construct_mask_for_all_inputs_dimensionalities",
      "function": "construct_mask_for_all_inputs_dimensionalities",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/step_input_assembler.py",
      "measured_speedup": 1.45,
      "tests": "31/31",
      "coverage_pct": 19.0,
      "db_speedup_x": 1.51
    },
    {
      "name": "execution_data_manager-construct_simd_step_input",
      "function": "construct_simd_step_input",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/step_input_assembler.py",
      "measured_speedup": 1.42,
      "tests": "26/26",
      "coverage_pct": 28.3,
      "db_speedup_x": 1.37
    },
    {
      "name": "common-add_inference_keypoints_to_sv_detections",
      "function": "add_inference_keypoints_to_sv_detections",
      "file": "inference/core/workflows/core_steps/common/utils.py",
      "measured_speedup": 1.41,
      "tests": "30/30",
      "coverage_pct": 4.1,
      "db_speedup_x": 1.56
    },
    {
      "name": "qwen3_5vl-qwen35vlblockv1-run",
      "function": "Qwen35VLBlockV1.run",
      "file": "inference/core/workflows/core_steps/models/foundation/qwen3_5vl/v1.py",
      "measured_speedup": 1.41,
      "tests": "28/28",
      "coverage_pct": 93.1,
      "db_speedup_x": 1.69
    },
    {
      "name": "core-get_workflow_specification",
      "function": "get_workflow_specification",
      "file": "inference/core/roboflow_api.py",
      "measured_speedup": 1.4,
      "tests": "1157/1157",
      "coverage_pct": 3.6,
      "db_speedup_x": 1.56
    },
    {
      "name": "common-deserialize_image_kind",
      "function": "deserialize_image_kind",
      "file": "inference/core/workflows/core_steps/common/deserializers.py",
      "measured_speedup": 1.39,
      "tests": "1506/1506",
      "coverage_pct": 7.4,
      "db_speedup_x": 1.42
    },
    {
      "name": "cache-is_block_cached",
      "function": "is_block_cached",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.37,
      "tests": "53/53",
      "coverage_pct": 27.9,
      "db_speedup_x": 1.36
    },
    {
      "name": "email_notification-format_email_message",
      "function": "format_email_message",
      "file": "inference/core/workflows/core_steps/sinks/email_notification/v2.py",
      "measured_speedup": 1.37,
      "tests": "56/56",
      "coverage_pct": 31.7,
      "db_speedup_x": 1.35
    },
    {
      "name": "managers-modelmanager-infer_from_request_sync",
      "function": "ModelManager.infer_from_request_sync",
      "file": "inference/core/managers/base.py",
      "measured_speedup": 1.36,
      "tests": "3041/3041",
      "coverage_pct": 13.7,
      "db_speedup_x": 1.46
    },
    {
      "name": "sequences-sequence_apply",
      "function": "sequence_apply",
      "file": "inference/core/workflows/core_steps/common/query_language/operations/sequences/base.py",
      "measured_speedup": 1.35,
      "tests": "58/58",
      "coverage_pct": 30.2,
      "db_speedup_x": 1.48
    },
    {
      "name": "cache-get_task_type_to_block_mapping",
      "function": "get_task_type_to_block_mapping",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.33,
      "tests": "30/30",
      "coverage_pct": 29.6,
      "db_speedup_x": 1.39
    },
    {
      "name": "dataset_upload-is_prediction_registration_forbidden",
      "function": "is_prediction_registration_forbidden",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v1.py",
      "measured_speedup": 1.32,
      "tests": "2043/2043",
      "coverage_pct": 31.7,
      "db_speedup_x": 1.44
    },
    {
      "name": "entities-batch-remove_by_indices",
      "function": "Batch.remove_by_indices",
      "file": "inference/core/workflows/execution_engine/entities/base.py",
      "measured_speedup": 1.32,
      "tests": "44/44",
      "coverage_pct": 65.4,
      "db_speedup_x": 1.26
    },
    {
      "name": "execution_data_manager-filter_to_valid_prefix_chains",
      "function": "filter_to_valid_prefix_chains",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/step_input_assembler.py",
      "measured_speedup": 1.32,
      "tests": "32/32",
      "coverage_pct": 15.3,
      "db_speedup_x": 1.32
    },
    {
      "name": "cache-_is_model_cached",
      "function": "_is_model_cached",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.31,
      "tests": "45/45",
      "coverage_pct": 27.0,
      "db_speedup_x": 1.24
    },
    {
      "name": "webrtc_worker-videoframeprocessor-_check_termination",
      "function": "VideoFrameProcessor._check_termination",
      "file": "inference/core/interfaces/webrtc_worker/webrtc.py",
      "measured_speedup": 1.31,
      "tests": "2029/2029",
      "coverage_pct": 16.1,
      "db_speedup_x": 1.36
    },
    {
      "name": "core-load_cached_workflow_response",
      "function": "load_cached_workflow_response",
      "file": "inference/core/roboflow_api.py",
      "measured_speedup": 1.3,
      "tests": "12126/12126",
      "coverage_pct": 2.8,
      "db_speedup_x": 1.38
    },
    {
      "name": "workflow_caller-_extract_workflow_caller_ids_from_spec",
      "function": "_extract_workflow_caller_ids_from_spec",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 1.29,
      "tests": "44/44",
      "coverage_pct": 25.8,
      "db_speedup_x": 1.34
    },
    {
      "name": "workflow_caller-_fetch_workflow_spec_for_validation",
      "function": "_fetch_workflow_spec_for_validation",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 1.28,
      "tests": "1547/1547",
      "coverage_pct": 23.1,
      "db_speedup_x": 1.33
    },
    {
      "name": "cache-is_model_cached",
      "function": "is_model_cached",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.26,
      "tests": "55/55",
      "coverage_pct": 28.7,
      "db_speedup_x": 1.22
    },
    {
      "name": "dataset_upload-register_datapoint_at_roboflow",
      "function": "register_datapoint_at_roboflow",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v1.py",
      "measured_speedup": 1.26,
      "tests": "2037/2037",
      "coverage_pct": 38.6,
      "db_speedup_x": 1.32
    },
    {
      "name": "execution_data_manager-intersect_masks_per_dimension",
      "function": "intersect_masks_per_dimension",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/step_input_assembler.py",
      "measured_speedup": 1.26,
      "tests": "40/40",
      "coverage_pct": 13.5,
      "db_speedup_x": 1.66
    },
    {
      "name": "anthropic_claude-blockmanifest-get_air_gapped_availability",
      "function": "BlockManifest.get_air_gapped_availability",
      "file": "inference/core/workflows/core_steps/models/foundation/anthropic_claude/v3.py",
      "measured_speedup": 1.25,
      "tests": "2243/2243",
      "coverage_pct": 16.4,
      "db_speedup_x": 1.45
    },
    {
      "name": "webrtc_worker-videoframeprocessor-serialize_outputs_sync",
      "function": "VideoFrameProcessor.serialize_outputs_sync",
      "file": "inference/core/interfaces/webrtc_worker/webrtc.py",
      "measured_speedup": 1.25,
      "tests": "48/48",
      "coverage_pct": 17.9,
      "db_speedup_x": 1.37
    },
    {
      "name": "executor-_run_workflow",
      "function": "_run_workflow",
      "file": "inference/core/workflows/execution_engine/v1/executor/core.py",
      "measured_speedup": 1.21,
      "tests": "130/130",
      "coverage_pct": 21.6,
      "db_speedup_x": 1.22
    },
    {
      "name": "dataset_upload-roboflowdatasetuploadblockv1-run",
      "function": "RoboflowDatasetUploadBlockV1.run",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v1.py",
      "measured_speedup": 1.2,
      "tests": "41/41",
      "coverage_pct": 38.6,
      "db_speedup_x": 1.26
    },
    {
      "name": "detection_event_log-detectioneventlogblockv1-_get_relative_time",
      "function": "DetectionEventLogBlockV1._get_relative_time",
      "file": "inference/core/workflows/core_steps/analytics/detection_event_log/v1.py",
      "measured_speedup": 1.2,
      "tests": "41/41",
      "coverage_pct": 43.0,
      "db_speedup_x": 1.19
    },
    {
      "name": "http-_build_step_execution_error_response",
      "function": "_build_step_execution_error_response",
      "file": "inference/core/interfaces/http/error_handlers.py",
      "measured_speedup": 1.2,
      "tests": "1029/1029",
      "coverage_pct": 1.0,
      "db_speedup_x": 1.19
    },
    {
      "name": "managers-rank_for_deletion",
      "function": "rank_for_deletion",
      "file": "inference/core/managers/inference_models_cache_watchdog.py",
      "measured_speedup": 1.19,
      "tests": "106/106",
      "coverage_pct": 7.3,
      "db_speedup_x": 1.88
    },
    {
      "name": "compiler-get_lineage_derived_from_control_flow",
      "function": "get_lineage_derived_from_control_flow",
      "file": "inference/core/workflows/execution_engine/v1/compiler/graph_constructor.py",
      "measured_speedup": 1.16,
      "tests": "33/33",
      "coverage_pct": 23.8,
      "db_speedup_x": 1.25
    },
    {
      "name": "models-inferencemodelsobjectdetectionadapter-postprocess",
      "function": "InferenceModelsObjectDetectionAdapter.postprocess",
      "file": "inference/core/models/inference_models_adapters.py",
      "measured_speedup": 1.16,
      "tests": "33/33",
      "coverage_pct": 8.7,
      "db_speedup_x": 1.23
    },
    {
      "name": "text_display-draw_background_with_alpha",
      "function": "draw_background_with_alpha",
      "file": "inference/core/workflows/core_steps/visualizations/text_display/utils.py",
      "measured_speedup": 1.16,
      "tests": "176/176",
      "coverage_pct": 29.5,
      "db_speedup_x": 1.18
    },
    {
      "name": "core-record_inference",
      "function": "record_inference",
      "file": "inference/core/telemetry.py",
      "measured_speedup": 1.15,
      "tests": "3033/3033",
      "coverage_pct": 1.6,
      "db_speedup_x": 1.22
    },
    {
      "name": "execution_data_manager-get_masks_intersection_for_dimensions",
      "function": "get_masks_intersection_for_dimensions",
      "file": "inference/core/workflows/execution_engine/v1/executor/execution_data_manager/step_input_assembler.py",
      "measured_speedup": 1.15,
      "tests": "36/36",
      "coverage_pct": 16.9,
      "db_speedup_x": 1.23
    },
    {
      "name": "easy_ocr-blockmanifest-get_supported_model_variants",
      "function": "BlockManifest.get_supported_model_variants",
      "file": "inference/core/workflows/core_steps/models/foundation/easy_ocr/v1.py",
      "measured_speedup": 1.14,
      "tests": "2039/2039",
      "coverage_pct": 57.5,
      "db_speedup_x": 1.31
    },
    {
      "name": "email_notification-apply_operations_to_message_parameters",
      "function": "apply_operations_to_message_parameters",
      "file": "inference/core/workflows/core_steps/sinks/email_notification/v2.py",
      "measured_speedup": 1.14,
      "tests": "44/44",
      "coverage_pct": 29.5,
      "db_speedup_x": 1.15
    },
    {
      "name": "dataset_upload-register_datapoint",
      "function": "register_datapoint",
      "file": "inference/core/workflows/core_steps/sinks/roboflow/dataset_upload/v1.py",
      "measured_speedup": 1.13,
      "tests": "1138/1138",
      "coverage_pct": 42.5,
      "db_speedup_x": 1.16
    },
    {
      "name": "event_writer-_build_image_entry",
      "function": "_build_image_entry",
      "file": "inference/enterprise/workflows/enterprise_blocks/sinks/event_writer/v1.py",
      "measured_speedup": 1.13,
      "tests": "1337/1337",
      "coverage_pct": 60.6,
      "db_speedup_x": 1.1
    },
    {
      "name": "mask_area_measurement-get_detection_area",
      "function": "get_detection_area",
      "file": "inference/core/workflows/core_steps/classical_cv/mask_area_measurement/v1.py",
      "measured_speedup": 1.13,
      "tests": "129/129",
      "coverage_pct": 83.7,
      "db_speedup_x": 1.19
    },
    {
      "name": "moondream2-inferencemodelsmoondream2adapter-caption",
      "function": "InferenceModelsMoondream2Adapter.caption",
      "file": "inference/models/moondream2/moondream2_inference_models.py",
      "measured_speedup": 1.13,
      "tests": "185/185",
      "coverage_pct": 45.1,
      "db_speedup_x": 1.11
    },
    {
      "name": "trackers-instancecache-record_instance",
      "function": "InstanceCache.record_instance",
      "file": "inference/core/workflows/core_steps/trackers/_base.py",
      "measured_speedup": 1.11,
      "tests": "14857/14857",
      "coverage_pct": 17.3,
      "db_speedup_x": 1.14
    },
    {
      "name": "workflow_caller-workflowcallerblockv1-run",
      "function": "WorkflowCallerBlockV1.run",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 1.11,
      "tests": "59/59",
      "coverage_pct": 48.9,
      "db_speedup_x": 1.13
    },
    {
      "name": "webrtc_worker-default_encoder",
      "function": "default_encoder",
      "file": "inference/core/interfaces/webrtc_worker/webrtc.py",
      "measured_speedup": 1.1,
      "tests": "4071/4071",
      "coverage_pct": 17.0,
      "db_speedup_x": 1.12
    },
    {
      "name": "cache-_get_block_type_identifier",
      "function": "_get_block_type_identifier",
      "file": "inference/core/cache/air_gapped.py",
      "measured_speedup": 1.09,
      "tests": "34/34",
      "coverage_pct": 26.5,
      "db_speedup_x": 1.11
    },
    {
      "name": "workflow_caller-_convert_output_descriptions_to_kinds",
      "function": "_convert_output_descriptions_to_kinds",
      "file": "inference/core/workflows/core_steps/composition/workflow_caller/v1.py",
      "measured_speedup": 1.09,
      "tests": "37/37",
      "coverage_pct": 24.6,
      "db_speedup_x": 1.19
    },
    {
      "name": "common-serialise_sv_detections",
      "function": "serialise_sv_detections",
      "file": "inference/core/workflows/core_steps/common/serializers.py",
      "measured_speedup": 1.08,
      "tests": "149/149",
      "coverage_pct": 5.1,
      "db_speedup_x": 1.19
    },
    {
      "name": "openai-execute_gpt_4v_request",
      "function": "execute_gpt_4v_request",
      "file": "inference/core/workflows/core_steps/models/foundation/openai/v3.py",
      "measured_speedup": 1.06,
      "tests": "37/37",
      "coverage_pct": 25.8,
      "db_speedup_x": 2.0
    },
    {
      "name": "notification-blockmanifest-get_air_gapped_availability",
      "function": "BlockManifest.get_air_gapped_availability",
      "file": "inference/core/workflows/core_steps/sinks/slack/notification/v1.py",
      "measured_speedup": 0.77,
      "tests": "1535/1535",
      "coverage_pct": 43.0,
      "db_speedup_x": 1.14
    }
  ]
}