== build ==
         63005334 function calls (63005210 primitive calls) in 22.760 seconds

   Ordered by: cumulative time
   List reduced from 267 to 12 due to restriction <12>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    1.373    1.373   22.760   22.760 /agent/repos/readcon-core/bench/h2h/cross_format.py:301(build_chemfiles_frames)
9000013/9000009    2.350    0.000    8.959    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:32(__setattr__)
  1000000    1.352    0.000    6.352    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:26(__getitem__)
  1000121    0.286    0.000    4.651    0.000 {built-in method builtins.hasattr}
  1000000    0.388    0.000    4.365    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/atom.py:71(name)
  1000000    0.988    0.000    4.029    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:224(topology)
  1000000    0.965    0.000    3.977    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:98(_call_with_growing_buffer)
  2000003    1.614    0.000    3.787    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:21(__init__)
  1000000    0.548    0.000    2.602    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:46(from_const_ptr)
  1000001    0.536    0.000    2.553    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:39(from_mutable_ptr)
  7000008    1.813    0.000    2.443    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:68(ffi)
  2000002    1.510    0.000    2.404    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:28(__del__)



== write ==
         50 function calls in 0.053 seconds

   Ordered by: cumulative time
   List reduced from 31 to 12 due to restriction <12>

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
        1    0.000    0.000    0.053    0.053 /agent/repos/readcon-core/bench/h2h/cross_format.py:327(write_built_chemfiles)
        1    0.028    0.028    0.028    0.028 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:53(write)
        1    0.000    0.000    0.024    0.024 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:25(__exit__)
        1    0.024    0.024    0.024    0.024 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:109(close)
        1    0.000    0.000    0.000    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:125(__init__)
        1    0.000    0.000    0.000    0.000 /usr/lib/python3.12/pathlib.py:1338(unlink)
        1    0.000    0.000    0.000    0.000 {built-in method posix.unlink}
        2    0.000    0.000    0.000    0.000 /usr/lib/python3.12/pathlib.py:447(__fspath__)
        2    0.000    0.000    0.000    0.000 /usr/lib/python3.12/pathlib.py:437(__str__)
        1    0.000    0.000    0.000    0.000 /usr/lib/python3.12/pathlib.py:429(_format_parsed_parts)
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
        8    0.000    0.000    0.000    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:32(__setattr__)
