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

com.google.javascript.jscomp.PerformanceTracker.class Maven / Gradle / Ivy

Go to download

Closure Compiler is a JavaScript optimizing compiler. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls. It is used in many of Google's JavaScript apps, including Gmail, Google Web Search, Google Maps, and Google Docs.

The newest version!
????7?
java/lang/Object()V)com/google/javascript/jscomp/RecentChange
	
/com/google/javascript/jscomp/PerformanceTracker
codeChange+Lcom/google/javascript/jscomp/RecentChange;	initAstSizeI	initCodeSize	initGzCodeSize	
passesRuntime	maxMem	!"runs	$%changes	'(loopRuns	*+loopChanges	-.jsLines	01	jsSources	34externLines	67
externSources	9:astSize	<=codeSize	?@
gzCodeSize	BCastDiff	EFdiff	HIgzDiffKjava/util/ArrayDeque
J	NOPcurrentPassLjava/util/Deque;Rjava/util/ArrayList
Q	UVWlogLjava/util/List;Ynot executed	[\]disambiguatePropertiesSummaryLjava/lang/String;	_`]ambiguatePropertiesSummary	bcdef7com/google/javascript/jscomp/CompilerOptions$TracerModeOFF9Lcom/google/javascript/jscomp/CompilerOptions$TracerMode;h2PerformanceTracker can't work without tracer data.
jklmn$com/google/common/base/Preconditions
checkArgument(ZLjava/lang/Object;)V
pqrstjava/lang/SystemcurrentTimeMillis()J	vwx	startTimeJ	z{|externsRoot"Lcom/google/javascript/rhino/Node;	~|jsRoot	??fmode?5com/google/javascript/jscomp/PerformanceTracker$Stats
???(Ljava/lang/String;Z)V?????java/util/Dequepush(Ljava/lang/Object;)V?toSource
?????java/lang/Stringequals(Ljava/lang/Object;)Z
??reset
???
tracksAstSize()Z
?????%com/google/javascript/jscomp/NodeUtilcountAstSize%(Lcom/google/javascript/rhino/Node;)I
???
tracksSize
???tracksGzSize
?????@com/google/javascript/jscomp/PerformanceTrackerCodeSizeEstimatorestimateg(Lcom/google/javascript/rhino/Node;Z)Lcom/google/javascript/jscomp/PerformanceTrackerCodeSizeEstimator;
????getCodeSize()I
????getZippedCodeSize
???getAllocatedMegabytes????pop()Ljava/lang/Object;	???]pass
j???
checkState(Z)V?????java/util/Listadd	???xruntime	???allocMem	?!
???hasCodeChanged	?$?&com/google/javascript/jscomp/PassNames?parseInputs
???recordParsingStop:(Lcom/google/javascript/jscomp/PerformanceTracker$Stats;)V
???recordOtherPassStop
???tracksAstManifest
??populateAstManifest
??recordInputCount	?9	???size	???gzSize	?B	?E	?H
????? com/google/javascript/rhino/Node
getFirstChild$()Lcom/google/javascript/rhino/Node;
????estimateNumLines
????getNext
t%com/google/javascript/jscomp/PlatformtotalMemory
t
freeMemory
	
	bytesToMB(J)I	b
fRAW_SIZE	bfALL	bfTIMING_ONLY
b?isOn
calcTotalStats	passSummary(Lcom/google/common/collect/ImmutableMap;	 !xendTime
#$populatePassSummary
&'()*&com/google/common/collect/ImmutableMapentrySet*()Lcom/google/common/collect/ImmutableSet;
,-./0&com/google/common/collect/ImmutableSetiterator2()Lcom/google/common/collect/UnmodifiableIterator;2345?java/util/IteratorhasNext278?next:java/util/Map$Entry9<=?getValue
?@ABCjava/lang/Mathmax(II)I	?EFG	isOneTimeZIjava/util/LinkedHashMap
H?L/M()Ljava/util/Iterator;OPQapplyV(Lcom/google/javascript/jscomp/PerformanceTracker$Stats;)Ljava/util/function/Function;
HSTUcomputeIfAbsentC(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;
&WXYcopyOf9(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap;	[\]astManifest-Lcom/google/common/collect/ImmutableMultiset;
_`abc+com/google/common/collect/ImmutableMultisetbuilder7()Lcom/google/common/collect/ImmutableMultiset$Builder;efgvisitf(Lcom/google/common/collect/ImmutableMultiset$Builder;)Lcom/google/javascript/jscomp/NodeUtil$Visitor;
?ijk
visitPreOrderT(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/NodeUtil$Visitor;)V
mnopq3com/google/common/collect/ImmutableMultiset$Builderbuild/()Lcom/google/common/collect/ImmutableMultiset;sverbose:pretty:all
uvwxy'com/google/javascript/jscomp/JvmMetricsmaybeWriteJvmMetrics*(Ljava/io/PrintStream;Ljava/lang/String;)V{}TOTAL:??makeConcatWithConstants(J)Ljava/lang/String;???(I)Ljava/lang/String;???	?
???
???????&(Ljava/lang/String;)Ljava/lang/String;?
?????/com/google/javascript/jscomp/base/JSCompStringslines'([Ljava/lang/String;)Ljava/lang/String;
?????java/io/PrintStreamprintln(Ljava/lang/String;)V?Inputs:?????Summary:?Jpass,runtime,allocMem,runs,changingRuns,astReduction,reduction,gzReduction
,???stream()Ljava/util/stream/Stream;???applyAsLong%()Ljava/util/function/ToLongFunction;?????java/util/Comparator
comparingLong;(Ljava/util/function/ToLongFunction;)Ljava/util/Comparator;?????java/util/stream/Streamsorted1(Ljava/util/Comparator;)Ljava/util/stream/Stream;?P?()Ljava/util/function/Function;????map8(Ljava/util/function/Function;)Ljava/util/stream/Stream;
?????java/util/ObjectsrequireNonNull&(Ljava/lang/Object;)Ljava/lang/Object;???accept4(Ljava/io/PrintStream;)Ljava/util/function/Consumer;????forEach (Ljava/util/function/Consumer;)V?Log:?Xpass,runtime,allocMem,codeChanged,astReduction,reduction,gzReduction,astSize,size,gzSize?%s,%d,%d,%b,%d,%d,%d,%d,%d,%d

?????java/lang/LongvalueOf(J)Ljava/lang/Long;
?????java/lang/Integer(I)Ljava/lang/Integer;
?????java/lang/Boolean(Z)Ljava/lang/Boolean;
?????5com/google/javascript/jscomp/base/format/SimpleFormatformat9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
????print?Input AST Manifest:?token,count
_'?????
???
?java/io/FilterOutputStreamflushjava/io/IOExceptionjava/lang/RuntimeExceptionUnreachable.

*(Ljava/lang/String;Ljava/lang/Throwable;)V
%s,%d?(com/google/common/collect/Multiset$Entry
getElement?getCount9?getKey%s,%d,%d,%d,%d,%d,%d,%d
?getToken%()Lcom/google/javascript/rhino/Token;
m ?!I(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMultiset$Builder;DEFAULT_WHEN_SIZE_UNTRACKED
ConstantValue????	SignatureJLjava/util/Deque;sLcom/google/common/collect/ImmutableMap;RLcom/google/common/collect/ImmutableMultiset;ILjava/util/List;?(Lcom/google/javascript/rhino/Node;Lcom/google/javascript/rhino/Node;Lcom/google/javascript/jscomp/CompilerOptions$TracerMode;)VCodeLineNumberTableLocalVariableTablethis1Lcom/google/javascript/jscomp/PerformanceTracker;
StackMapTableMethodParametersgetCodeChangeHandler2()Lcom/google/javascript/jscomp/CodeChangeHandler;recordPassStartpassNameupdateAfterDeserialize%(Lcom/google/javascript/rhino/Node;)V	estimatorBLcom/google/javascript/jscomp/PerformanceTrackerCodeSizeEstimator;recordPassStop(Ljava/lang/String;J)VlogStats7Lcom/google/javascript/jscomp/PerformanceTracker$Stats;newSizenbytes
getRuntimegetSize	getGzSize
getAstSize
getChangesRuntimeInvisibleAnnotations1Lcom/google/common/annotations/VisibleForTesting;getLoopChangesgetRunsgetLoopRunsgetStats*()Lcom/google/common/collect/ImmutableMap;u()Lcom/google/common/collect/ImmutableMap;statsentryLjava/util/Map$Entry;LocalVariableTypeTable`Ljava/util/Map$Entry;logStattmpPassSummaryLjava/util/LinkedHashMap;dLjava/util/LinkedHashMap;5Lcom/google/common/collect/ImmutableMultiset$Builder;ZLcom/google/common/collect/ImmutableMultiset$Builder; setDisambiguatePropertiesSummarysummarysetAmbiguatePropertiesSummaryoutputTracerReport(Ljava/io/PrintStream;)VeLjava/io/IOException;outputLjava/io/PrintStream;c[Ljava/lang/Object;lambda$outputTracerReport$4>(Lcom/google/common/collect/Multiset$Entry;)Ljava/lang/String;*Lcom/google/common/collect/Multiset$Entry;lambda$outputTracerReport$3)(Ljava/util/Map$Entry;)Ljava/lang/String;keylambda$outputTracerReport$2(Ljava/util/Map$Entry;)Jlambda$populateAstManifest$1Z(Lcom/google/common/collect/ImmutableMultiset$Builder;Lcom/google/javascript/rhino/Node;)Vlambda$populatePassSummary$0?(Lcom/google/javascript/jscomp/PerformanceTracker$Stats;Ljava/lang/String;)Lcom/google/javascript/jscomp/PerformanceTracker$Stats;k
SourceFilePerformanceTracker.javaNestMembersBootstrapMethodsv
wxyz{"java/lang/invoke/LambdaMetafactorymetafactory?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?~
no?K(Ljava/lang/String;)Lcom/google/javascript/jscomp/PerformanceTracker$Stats;7?
?lm?
?????$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;?Start time(ms): ?End time(ms): ?Wall time(ms): ?Passes runtime(ms): ?/Max mem usage (measured after each pass)(MB): ?#Runs: ?#Changing runs: ?#Loopable runs: ?#Changing loopable runs: ?"Estimated AST reduction(#nodes): ?Estimated Reduction(bytes): ?Estimated GzReduction(bytes): ?Estimated AST size(#nodes): ?Estimated Size(bytes): ?Estimated GzSize(bytes): ?DisambiguateProperties: ?AmbiguateProperties: ?
JS lines:   ?
JS sources: ?Extern lines:   ?Extern sources: ?(Ljava/lang/Object;)J?
?jkk?
?ghh????
?deeInnerClasses?,com/google/javascript/jscomp/CompilerOptions
TracerModeStats?
java/util/MapEntryBuilder?-com/google/javascript/jscomp/NodeUtil$VisitorVisitor?"com/google/common/collect/Multiset?%java/lang/invoke/MethodHandles$Lookup?java/lang/invoke/MethodHandlesLookup1 "#${|?f|wx!x"%(+.147:=@CFIOP%&%'\]%(VW%)\]`]"*+??*?*?Y?	?
*?*?*?*?*?*? *?#*?&*?)*?,*?/*?2*?5*?8*?;*?>*?A*?D*?G*?JY?L?M*?QY?S?T*X?Z*X?^-?a??g?i*?o?u*+?y*,?}*-???,~c8<=>B#C(D-E2F7G<IAJFKKLPRUSZT_UdViWnYya?_?e?d?e?f?g?h?i-*?./?{|?|??f0????b@1
{?23+/*?
?,l-./4?+v#*?M??Y+????+????
*?
???,ptu"w- #./#5]#FG0"1	5F67+?S*+?}*????***?}??Z?8?*????*?}*????M**,??Z?;?*???**,??Z?>??,2|}~
??$?%?*?1?>?E?R?- S./S|1"890

?,?1:;+y*??6*?M????:+??????*?T??W ??????*?
?Й	??+ֶ??*?ا*?
?Й*???	*?ܱ,:??? ?,?2?9???I?O?X?a?r?x?-4y./y5]y?xs?e<=0?O?1	5???+?l*?ߙ*??*??*????+***?}??Z?8Z???*????*?}*????M+**,??Z?;Z???*???+**,??Z?>Z???,:??????,?3?4?9?@?R?Y?k?- l./l<=@,890?6?1<??+?j*?}??=+*?8d??*+Z??8*????*?}*????N-??=+*?;d??*+Z??;*???-??=+*?>d??*+Z??>?,>????#?$?)?0?5???I?P?U?_?i?-*j./j<=b>0:890?$?D?1<?+?W*?y??L+?"*Y?5`?5*Y?2+??`?2+??L???*?}??L+?"*Y?/`?/*Y?,+??`?,+??L???,&	???#?+?7?A?N?V?- #?|3#?|W./0???"???"
+;?m??,?-./@x1@??+6*??e??,?-./??+P*????
*??????,?-./0@??+E*??????,?-./0@??+E*??????,?-./0@??+2*????,?-./A?+7	*?*??,
??-	./B?+7	*?*?;?,
??-	./C?+7	*?*?>?,
??-	./D?+7	*?*?8?,
-	./E?+7	*?*?#?,
	-	./FGH?+7	*?*?)?,
-	./FGI?+7	*?*? ?,
-	./FGJ?+7	*?*?&?,
-	./FGKL+7	*?*??,
 -	./%M+?*???*?o?*?"*??%?+L+?1??+?6?9M,?;??N**??-??a??**?-?̸>?*Y? -??`? *Y?#-??`?#-?D?*Y?&-??`?&*Y?)-??`?)*Y?A-??`?A*Y?D-??`?D*Y?G-??`?G??c*???*?*?A*?8`????*???*?*?D*?;`????*???*?*?G*?>`?????,V%&(*,1-;.J/Y0f1s2z3?4?6?7?8?9?:?;?<=- ;?N=1?OP./Q1?OR0!
?2?u9??)@@@$+Z??HY?JL*?T?KM,?1??,?6??N-??:+-?N?R??:Y??-??a????-?̸>??Y??`??Y??-??`??Y??-??`??Y??-??`??Y??-??`???t*+?V??,>@B%C+D4E<FJG[HfItJ?K?L?P?R?S-4+s5]<bO=%yS=?./?TUQ?TV0?H2???+?"*?Z???^L*?}+?d?h*+?l?Z?,VWZ[\!]-"./bWQbX0Y?+>*+?Z?,
bc-./Z]1Z[?+>*+?^?,
hi-./Z]1Z\]+?+r?t*?+??YzSY|SY*?u?~SY*???SY*?*?ue??SY*???SY*???SY*? ??SY*?#??SY	*?&??SY
*?)??SY*?A??SY*?D??SY
*?G??SY*?8??SY*?;??SY*?>??SYzSY*?Z??SY*?^??S????+??YzSY?SY*?,??SY*?/??SY*?2??SY*?5??S????+??YzSY?SY?S????*??%????????????+Y??W????+??YzSY?SY?S????*?T?KM,?1??,?6??N+?
?Y-??SY-?ɸ?SY-?̸?SY-??????SY-???SY-???SY-???SY-???SY-???SY	-???S????p*?Z?I+??YzSY?SY?S????*?Z??????????+Y??W????+??+???M?Y,?	?????,?.pqsts?J?M?P?g?j?m?|??????????????????????*?5?@?K?O?R?U?X?_?v?y?|???????????????????-*?}N=?^_?./?`a0T??2?D?2???bb??2???bb?L?LJ1`
de+J ?Y*?SY*???S??,?- ^f
gh+?l*???L*?;??M?Y+SY,?ɸ?SY,?̸?SY,?ϸ?SY,?Ӹ?SY,???SY,???SY,???S??,.?
??&?0?:?D?N?Y?d?h?- lOP
bi]XN=
jk+7
*?;???ɭ,?-
^P
lm+>
*+??W?,[-
bW
?|
no+A
??Y+*?D???,E-
S=
p]qrs?t?u|}?u?????????????????????????????????????????????u???u|??u???u|???:b??@??	9??	m_?	???	??	???




© 2015 - 2024 Weber Informatics LLC | Privacy Policy