All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.core.execution.Profiler.class Maven / Gradle / Ivy

Go to download

TSL2 Framework Html5 Extensions (WebServer, Html5Presentation, RuleCover, BeanConfigurator, LogicTable-Sheet, Expression-Descriptors for Actions, Rules, URLs, Queries)

There is a newer version: 2.5.2
Show newest version
????=?
java/lang/Object()Vjava/util/HashMap
	
$de/tsl2/nano/core/execution/ProfilerprofObjectsLjava/util/Map;
java/util/CalendargetInstance()Ljava/util/Calendar;	calLjava/util/Calendar;java/text/SimpleDateFormatHH:mm:ss.SSS
 (Ljava/lang/String;)V	"#$sdfLjava/text/SimpleDateFormat;
&'(getTimeZone()Ljava/util/TimeZone;
*+,-.java/util/TimeZonesetRawOffset(I)V	012self&Lde/tsl2/nano/core/execution/Profiler;
	567LOG Lorg/apache/commons/logging/Log;9preparing a hot working cpu...;<=>?org/apache/commons/logging/Loginfo(Ljava/lang/Object;)V?
CDEFGjava/lang/Threadsleep(J)V'
KLMworkLoop(J)JOjava/lang/InterruptedException
QRSTU"de/tsl2/nano/core/ManagedExceptionforward,(Ljava/lang/Throwable;)Ljava/lang/Throwable;????????
YZ[\]*de/tsl2/nano/core/execution/ProfilerObject
fastConstruct.()Lde/tsl2/nano/core/execution/ProfilerObject;
_`agetClazz%(Ljava/lang/Object;)Ljava/lang/Class;	YcdeclazzLjava/lang/Class;	YghinameLjava/lang/String;
klmnojava/lang/SystemcurrentTimeMillis()J	YqrsstartJ
uvo
getUsedMem	YxysstartMem
Y{|}hashCode()I
????java/lang/IntegervalueOf(I)Ljava/lang/Integer;?????
java/util/Mapput8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
??GsetTimeInMillis?O
==============================================================================
?? log
?????java/lang/Class
getSimpleName()Ljava/lang/String;
???getTime()Ljava/util/Date;
???format$(Ljava/util/Date;)Ljava/lang/String;????makeConcatWithConstantsK(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;J)Ljava/lang/String;?N==============================================================================
?????java/lang/Runtime
getRuntime()Ljava/lang/Runtime;
???ototalMemory
???o
freeMemory
???getClass()Ljava/lang/Class;
???ending((Ljava/lang/Object;Ljava/lang/String;Z)J
Y???hash&(Ljava/lang/Class;Ljava/lang/String;)I????remove&(Ljava/lang/Object;)Ljava/lang/Object;????get	Y??send	Y??sendMem?	k???outLjava/io/PrintStream;
???? java/io/PrintStreamprintln
??oprepareProcessor
???si(()Lde/tsl2/nano/core/execution/Profiler;
???starting'(Ljava/lang/Object;Ljava/lang/String;)J????java/lang/Runnablerun
???
???compareTests;(Ljava/lang/String;ZJ[Ljava/lang/Runnable;)Ljava/util/List;?java/util/ArrayList
??.???(I)Ljava/lang/String;
???
stressTest*(Ljava/lang/String;JLjava/lang/Runnable;)J
?????java/lang/Long(J)Ljava/lang/Long;??java/util/Listadd(Ljava/lang/Object;)Z?(IJ)Ljava/lang/String;java/util/Date?	?
(I)Ljava/lang/Object;
?
o	longValue
G?'(ILjava/lang/String;)Ljava/lang/String;
checkComparedTests((Ljava/util/List;[Ljava/lang/Runnable;)V
?(Ljava/util/Collection;)V
java/util/Collectionssort(Ljava/util/List;)V
?!"#toArray()[Ljava/lang/Object;?!
&'()*java/util/Arraysequals)([Ljava/lang/Object;[Ljava/lang/Object;)Z
,-./0!de/tsl2/nano/core/util/StringUtiltoString'(Ljava/lang/Object;I)Ljava/lang/String;2?38(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
Q567	assertion)(ZLjava/lang/String;[Ljava/lang/Object;)V??:standard-construction<&de/tsl2/nano/core/execution/Profiler$1
;?fast-constructionA&de/tsl2/nano/core/execution/Profiler$2
@?DEFvalues()Ljava/util/Collection;HIJKLjava/util/Collectioniterator()Ljava/util/Iterator;NOPQRjava/util/IteratorhasNext()ZNTUVnext()Ljava/lang/Object;
X)
ZX[java/lang/String]?^J(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;?`aclear
cdefg de/tsl2/nano/core/log/LogFactorygetLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;	SignaturePLjava/util/Map;CodeLineNumberTableLocalVariableTablethis
StackMapTableje Ljava/lang/InterruptedException;iIstepsclassOrInstanceLjava/lang/Object;po,Lde/tsl2/nano/core/execution/ProfilerObject;cleanZtext
test_countactionLjava/lang/Runnable;:(Ljava/lang/String;J[Ljava/lang/Runnable;)Ljava/util/List;descriptionactions[Ljava/lang/Runnable;L(Ljava/lang/String;J[Ljava/lang/Runnable;)Ljava/util/List;checkDurationOrder	durationsLjava/util/List;LocalVariableTypeTable"Ljava/util/List;M(Ljava/lang/String;ZJ[Ljava/lang/Runnable;)Ljava/util/List;sortedDurationsLjava/util/ArrayList;'Ljava/util/ArrayList;:(Ljava/util/List;[Ljava/lang/Runnable;)Vmain([Ljava/lang/String;)Vargs[Ljava/lang/String;
TEST_COUNT	summarize
testObjecttotalAmount
SourceFile
Profiler.javaNestMembersBootstrapMethods?
?????$java/lang/invoke/StringConcatFactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;?'==>> starting : '' at  used mem: kb?.<<== ending   : '' duration:  diff mem: kb?test ? Summary of  tests with  counts?	test : ?8the expected duration (in ms) order was:  -> but was: ?/total durations of testObject= and name= is:InnerClasses?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup!
12hi#$67jm/*?*?Y?	?
*??*?Y??!*??%?)?kH=?@#I.Jl/m2??j=?/?
?Y?3?/?/?kRSUn?oj?$?48?:@?B*H?J@?L+?PWV?
Nk]
_`abc dl os	pq$m2nZNLMj?>6???`>??????kmn
onql*rsm2tsosn
????j)z?XN-+?
+?^??b-,?f-?j?p-?t?w*?
-?z?~-??W*?-?p?????-?b??,*?!*?????-?w?m???????-?p?k6
|}~!?(?:?E?J?Z?m?p?u?l*zm2zuvzhivwxn1?ZYY?ZYY?voj&????????e?k?
`ajJ*???*?*?????k?luvnC??jF*+,???k?l m2uvhi??j$??*?
+?^,???~???Y?*?
+?^,???~???Y:?j???t??*????pe??????b??,*?!*????????we?m??????????pe?k.??7???G?Y?^?o???????l4?m2?uv?hi?yz7fwxnVY? j6??*?ұk
??l{i??j?3*??X??+??X	7 ????
a7????+??k???? ?)?l4rs3m23hi3|s3}~n	????jR
*+ ??k?l*
m2
?i
|s
??h????jX?+????Y???:6??%*??!2??????W?????!???6??0*?!?Y???????????????*??k2????7?=?I?T?{???????lR*rsL5rs?m2??i??z?|s??????????n???)??4h??j?1??Y+?N-?-? +?$?%-?++?+?1??4?k?	?
??!-?0l*1m21??1??	(???1??	(??h?	??jk+8??@Y?B??X?k*!l+??'?s??j?	B*?
?C?G:?M?C?S?Y:+?+?^?b?W?!,?,?f?Y?!???peaB??????+,*?!?Y!????\?????!?k2+,(-;.K/Y2\3a4o8w4z9:l4(1wx?m2??v?hi?sn?N?(Y?
?aj8
*?
?_?k
A	Bl
m2?j)
?/?b?4?k
:B???@;?,???????????????;@???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy