== build ==
         63005334 function calls (63005210 primitive calls) in 25.138 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.624    1.624   25.138   25.138 /agent/repos/readcon-core/bench/h2h/cross_format.py:307(build_chemfiles_frames)
9000013/9000009    2.661    0.000    9.912    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:32(__setattr__)
  1000000    1.479    0.000    6.968    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:26(__getitem__)
  1000121    0.369    0.000    5.102    0.000 {built-in method builtins.hasattr}
  1000000    0.427    0.000    4.733    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/atom.py:71(name)
  1000000    1.081    0.000    4.408    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:224(topology)
  1000000    1.064    0.000    4.305    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:98(_call_with_growing_buffer)
  2000003    1.751    0.000    4.163    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:21(__init__)
  1000000    0.593    0.000    2.857    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:46(from_const_ptr)
  1000001    0.583    0.000    2.777    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:39(from_mutable_ptr)
  7000008    1.972    0.000    2.651    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:68(ffi)
  2000002    1.629    0.000    2.606    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:333(write_built_chemfiles)
        1    0.031    0.031    0.031    0.031 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:53(write)
        1    0.000    0.000    0.021    0.021 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:25(__exit__)
        1    0.021    0.021    0.021    0.021 /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 {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__)
        1    0.000    0.000    0.000    0.000 /usr/lib/python3.12/pathlib.py:429(_format_parsed_parts)
