== build ==
         63005334 function calls (63005210 primitive calls) in 22.586 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.331    1.331   22.586   22.586 /agent/repos/readcon-core/bench/h2h/cross_format.py:301(build_chemfiles_frames)
9000013/9000009    2.335    0.000    8.882    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:32(__setattr__)
  1000000    1.332    0.000    6.321    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:26(__getitem__)
  1000121    0.291    0.000    4.604    0.000 {built-in method builtins.hasattr}
  1000000    0.398    0.000    4.313    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/atom.py:71(name)
  1000000    1.006    0.000    4.029    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/frame.py:224(topology)
  1000000    0.952    0.000    3.916    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:98(_call_with_growing_buffer)
  2000003    1.596    0.000    3.764    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:21(__init__)
  1000000    0.542    0.000    2.589    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:46(from_const_ptr)
  1000001    0.540    0.000    2.528    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:39(from_mutable_ptr)
  7000008    1.790    0.000    2.426    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:68(ffi)
  2000002    1.500    0.000    2.387    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:28(__del__)



== write ==
         50 function calls in 0.047 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.047    0.047 /agent/repos/readcon-core/bench/h2h/cross_format.py:327(write_built_chemfiles)
        1    0.000    0.000    0.030    0.030 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:25(__exit__)
        1    0.030    0.030    0.030    0.030 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:109(close)
        1    0.017    0.017    0.017    0.017 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/trajectory.py:53(write)
        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}
        1    0.000    0.000    0.000    0.000 {method 'disable' of '_lsprof.Profiler' objects}
        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__)
        3    0.000    0.000    0.000    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:68(ffi)
        8    0.000    0.000    0.000    0.000 /tmp/h2h-venv/lib/python3.12/site-packages/chemfiles/utils.py:32(__setattr__)
