HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/mercurial/utils/__pycache__/memorytop.cpython-310.pyc
o

�]Lb��@sddlZddlZddd�ZdS)�N�
c
Cst��t��}|�t�dd�t�dd�t�dd�f�}|�d�}tdd�|D��}td|d	�td
�t	|d|�d�D] \}}td||j
|jd	f�|jj
d
d�D]}td|�qWq?||d�}|r�tdd�|D��}tdd�|D��}	tdt|�|	|d	f�t�dS)NFz<frozen importlib._bootstrap>z&<frozen importlib._bootstrap_external>z	<unknown>�	tracebackcs��|]}|jVqdS�N��size��.0�stat�r�;/usr/lib/python3/dist-packages/mercurial/utils/memorytop.py�	<genexpr>��zmemorytop.<locals>.<genexpr>z 
Total allocated size: %.1f KiB
iz&Lines with the biggest net allocations�z#%d: %d objects using %.1f KiBT)�most_recent_firstz    csrrrrrrrr
&rcsrr)�countrrrrr
'rz#%s other: %d objects using %.1f KiB)�gc�collect�tracemalloc�
take_snapshot�
filter_traces�Filter�
statistics�sum�print�	enumeraterrr�format�len)
�limit�snapshot�stats�total�indexr
�line�otherrrrrr�	memorytops>


��
�����
r%)r)rrr%rrrr�<module>s