python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
time_hashlib.cpython-311.pyc

eddlZddlZddlZdZdZdZdZejdZedvr.e	deze	d	ezd
ze
dedned
kraeejdkrMddlZe	dejdze
dejdze
eejdned
krKeejdkr7ddlZe	dejdze
dejdzndeeer<ee
eedr&e
eeZe
deze
eene	deze
dez	en`#e$rXe
e
de
de
de
de
de
de
wxYweedd ed!d" ed#d$ ed%d& ed'd( ed)d* ed+d, eejd- ed.d/ dS)0Nc td)Nzeek, creatorFunc not overridden)RuntimeErrorE/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/time_hashlib.pycreatorFuncr	s
8
9
99rc	(d|zdz}d|z}t}tj}t|D]}||} tj}td||z
zd|dt
|d|dS)NٞZ%2.2fsecondsxbytes)rtimeperf_counterrangedigestprintlen)	scalename
iterationslongStrlocalCFstartfrends	         rtest_scaled_msgrs#J5jGGE
:

&&GG##%%



C	7c%i 9j#s7||WVZ[[[[[rctj}tdD]}t}tj}t	d||z
zdddS)N Nr
rz[20000 creations])rrrrr)rrdrs    rtest_creater#s`E
5\\MM



C	7c%i 9.ABBBBBrctj}tdD]"}t}#tj}td||z
zdddS)Nr!r
rz[20000 "" digests])rrrrrr)rrrrs    r	test_zeror% slE
5\\##MM  ""



C	7c%i 9.BCCCCCr)_md5_shazimport zcreatorFunc = z.newztesting speed of oldzlegacy interface_hashlibzcreatorFunc = _hashlib.%sztesting speed of _hashlib.%sz+creatorFunc = lambda x=_hashlib.new : x(%r)z!testing speed of _hashlib.new(%r)__call__ztesting speed of hashlib.z*creatorFunc = lambda x=hashlib.new : x(%r)z testing speed of hashlib.new(%r)z8pass argument(s) naming the hash to run a speed test on:z6 '_md5' and '_sha' test the legacy builtin md5 and shaz= '_hashlib' 'openssl_hName' 'fast' tests the builtin _hashlibz6 '_hashlib' 'hName' tests builtin _hashlib.new(shaFOO)z> 'hName' tests the hashlib.hName() implementation if it existsz.         otherwise it uses hashlib.new(hName).r
z[huge data])rri|)z[large data]i&z
[medium data]iz[4*small data]iPz[3*small data]z[2*small data]jz[small data]z[digest_size data]
z[tiny data])sysrhashlibrrr#r%argvhNameexecrrr)getattrhasattr
ValueErrordigest_sizerrr<module>r9s


:::
\
\
\CCCDDD	
	D5D	%		&'''	E
 %);<<<<
jSS]]Q..OOOD	$sx{	2333	E
(38A;
6#(ST+8V8VWWWW
jSS]]a//OOOD	6!	DEEE	E
-
;<<<<WWe6%)@)@*!M!M6''5))K	E
%e
+WWWe-D-DEEEED	5	=>>>	E
,u
4555
KMMMM	
	
	
	EGGG	E
DEEE	E
BCCC	E
IJJJ	E
BCCC	E
JKKK	E
:;;;	EGGG		

	f=1111e.1111d1111c 01111c 01111c 01111c////kkmm/6JKKKKb}------s
5
FAG