Next.js pinned bb63c72077ad7b81b2319f74a7ef3b00c1751483
Source SHA256 da3599d3d72ac498d33d3da3114ee7dbc3c7050846ab74b9c61fcd1558a08673
Instrumented scan: cProfile plus tracemalloc; includes history. Runtime includes profiling overhead.

Sun Oct 18 21:31:02 2026    .docs-drift/performance/next-instrumented.json.prof

         287245652 function calls (282951171 primitive calls) in 1418.351 seconds

   Ordered by: cumulative time
   List reduced from 1868 to 30 due to restriction <30>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1   13.612   13.612 1419.225 1419.225 scanning.py:104(run_scan)
   762205    6.046    0.000  709.006    0.001 workspaces.py:91(package_for)
  2705623    4.558    0.000  703.575    0.000 {built-in method builtins.max}
  1531146  475.608    0.000  698.779    0.000 workspaces.py:95(<genexpr>)
        1    1.121    1.121  311.114  311.114 __init__.py:122(build_index)
        1    0.556    0.556  274.535  274.535 pipeline.py:148(scan_claims)
176658296  225.700    0.000  225.700    0.000 {method 'startswith' of 'str' objects}
        1    0.343    0.343  185.367  185.367 discover.py:132(discover_docs)
    35094    0.080    0.000  152.751    0.004 _local.py:529(open)
    35128  150.547    0.004  152.674    0.004 {built-in method _io.open}
201381/28472    2.892    0.000  142.212    0.005 discover.py:83(_walk)
        1    0.165    0.165  130.322  130.322 __init__.py:69(_fingerprints)
     6160    0.105    0.000  112.990    0.018 _abc.py:621(read_bytes)
   161620    3.990    0.000   89.339    0.001 <frozen _collections_abc>:1037(__contains__)
        1    0.125    0.125   82.818   82.818 scanning.py:58(scoped_findings)
   107901    4.512    0.000   82.547    0.001 _local.py:365(relative_to)
    45214    0.272    0.000   78.446    0.002 discover.py:79(_inside)
        1    0.131    0.131   77.139   77.139 engine.py:278(match_claims)
  1388118    3.722    0.000   72.311    0.000 <frozen _collections_abc>:1027(__iter__)
  1218206   12.845    0.000   68.589    0.000 _local.py:44(__getitem__)
  1329616    3.946    0.000   58.743    0.000 _local.py:245(_from_parsed_parts)
   610331    4.669    0.000   54.168    0.000 _local.py:289(drive)
   327051   30.405    0.000   51.669    0.000 _local.py:257(_parse_path)
        1    2.815    2.815   51.455   51.455 base.py:104(source_files)
  1516121    5.904    0.000   48.960    0.000 _abc.py:130(with_segments)
      477    0.223    0.000   47.266    0.099 sections.py:228(parse_document)
    53746    0.379    0.000   46.627    0.001 _local.py:393(is_relative_to)
  1374045    1.673    0.000   44.871    0.000 _local.py:252(_from_parsed_string)
    57244    0.362    0.000   40.566    0.001 _local.py:664(resolve)
       18    0.002    0.000   40.242    2.236 subprocess.py:1178(communicate)
