-í G°w=cs2dZ,dkZ-dkZdkZdkZdkZdkZ0dkZdkZ1dk Z 2dk Z dk Z 3dk lZ4dklZ6de ifd„ƒYZ9dZ;deifd„ƒYZOed „Zzd „ZËd „ZÖed jo×eeid ƒndS(sÄTest speed of a ZODB storage Options: -d file The data file to use as input. The default is this script. -n n The number of repititions -s module A module that defines a 'Storage' attribute, which is an open storage. If not specified, a FileStorage will ne used. -z Test compressing data -D Run in debug mode -L Test loads as well as stores by minimizing the cache after eachrun -M Output means only -C Run with a persistent client cache -U Run ZEO using a Unix domain socket -t n Number of concurrent threads to run. N(sforker(s ConflictErrorsPcs6tZ7RS(N(s__name__s __module__(((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysP6s s zeo-speed.fssZEOExitcsP;tZdZ<=d„Z?d„ZAd„ZFd„ZJd„ZRS(s/Used to exit ZEO.StorageServer when run is donecs=>dSdS(Ni((sself((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pyswritable=scs?@dSdS(Ni((sself((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysreadable?scsTAB|idƒ}Cto|djpt‚D|iƒEtidƒdS(Nisdonei(sselfsrecvsbufs __debug__sAssertionErrors delete_fssoss_exit(sselfsbuf((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pys handle_readAs cs,FGdGHH|iƒItidƒdS(Ns"Parent process exited unexpectedlyi(sselfs delete_fssoss_exit(sself((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pys handle_closeFs cs?JKtitƒLtitdƒMtitdƒdS(Ns.locks.tmp(sossunlinksfs_name(sself((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pys delete_fsJs(s__name__s __module__s__doc__swritablesreadables handle_reads handle_closes delete_fs(((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysZEOExit;s     cs€OPxst|ƒDP]b}QxVddddfDQ]?}Rtiƒ}Sd} U|iƒ}Vx:Vdo/WyþXt ƒi ƒY|i ƒ} Zd|}[| i|ƒo\| |} n^tƒ| |<} _x€t|ƒD_]o} `t| t| ƒtƒƒ}a|tj ob||ƒ|_n d||_et| t| ƒ|ƒqìWft ƒiƒWn#gtj oh| d} nXjPqhWk|iƒmtiƒ|}n|oKo|tjopd|||| fGHnrd|||| |fGHnt||i!|| fƒut} } } }v|o$wti#d ƒx|i$d ƒnq2WqWdS( Nii idièiss%ss %s %s %.4f %ds%s %s %.4f %d %di(%srangesnrepsjsrstimests conflictssdbsopensjarsget_transactionsbeginsrootsrtskeyshas_keyspsPsisgetattrsstrsvscompresssNonesdatasdssetattrscommits ConflictErrorsclosesdetailedsthreadnosresultssappendsminimizessleeps cacheMinimize(sdbsresultssnrepscompresssdatasdetailedsminimizesthreadnoskeys conflictssrtsdspsisjsjarsrstsv((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysworkOsL           c s¸z{ti|dƒ\}}|t}}t} ~tid}d} €d}d}‚t}ƒd}„d}…xw|D…]l\}}†|djo†t|ƒ} n>‡|djo ‡|}n!ˆ|djo ˆ|}n‰|d joŠdk}‹|i} nØŒ|d jo d}n»Ž|d jo d}nž|d jo0‘’d tid<“dtid<”dan^•|djo –d}nA—|djo ˜d}n$™|djošt|ƒ}nq€Wœt}|o:žt|tƒtƒdfƒ}Ÿ|i} t}n.¢tid£tdfd|ƒ\}}}¥t|ƒi ƒ}¦t!i"|¨dd©ddƒ} «dGH¬hgd<gd<gd<gd <}­|djoÄ®dk%} ¯g}°x]t'|ƒD°]L}±| i)d!t*²d"| || | ||||fƒ}´|i,|ƒqWµx|Dµ]}¶|i-ƒqmW·x|D·]}¸|i.ƒq‘Wn »t*| || | |||ƒ½|tj o$¾|i/ƒ¿ti0|dƒnÁ|oÂd#d$GHnÃd%GHÄxŠdddd fDÄ]s} Åg}Æx+|| DÆ]\}}Ç|i,|ƒqZWÈt5|ƒ}Éd&| |t6|ƒt7|ƒfGHq:WdS('Ns zd:n:Ds:LMt:UiiisAF_INETs-ns-ds-ss-zs-Ls-Ms-DssSTUPID_LOG_FILEs-999sSTUPID_LOG_SEVERITYs-Csspeeds-UsAF_UNIXs-ts__doc__s FileStoragesdomains cache_sizei scache_deactivate_afteripsBeginning work...i idièstargetsargss-isnum mean min maxs%d %.4f %.4f %.4f(8sgetoptsargssoptssNonessscompressssyssargvsdatasnrepsminimizesdetailedscachesdomainsthreadssosvsintszlibsossenvironsdebugszeo_pipes __import__sglobalssStoragesserversforkers start_zeosfs_namespidsopensreadsZODBsDBsdbsresultss threadingslsrangesisThreadsworkstsappendsstartsjoinscloseswaitpidsrstimesstimesconfsmeansminsmax(sargssdetailedsdomainspidsresultssconfsserverscachesssrs threadingsdbscompresssnrepsthreadssdatasiszlibsvslsostimessminimizeststimeszeo_pipesopts((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysmainzsœ                   !   !  -   '      csEËÌd}Íx|DÍ]}Î||}qWÏ|t|ƒSdS(Ni(stotslsvslen(slstotsv((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pysmeanËs   s__main__i(susagesasyncoressyssossgetoptsstringstimesZODBsZODB.FileStorages PersistencesZEO.ClientStoragesZEOsZEO.StorageServers ZEO.testssforkersZODB.POSExceptions ConflictErrors PersistentsPsfs_namesfile_dispatchersZEOExitsNonesworksmainsmeans__name__sargv(sfs_namesasyncoresstringsPsZEOExitsworksZEOsforkerssyss ConflictErrorsZODBstimesusagesgetoptsmainsoss Persistencesmean((s7/usr/pkg/lib/python2.2/site-packages/ZEO/tests/speed.pys?s  0  + Q