({{, (RefLink[ClearSystemCache, paclet:ref/ClearSystemCache])[] 
clears internal system caches of stored results.}})

OpenersNotesSection(Spacer1)Details

(RefLink[ClearSystemCache, paclet:ref/ClearSystemCache]) can be useful in generating worst-case timing results independent of previous computations.

(RefLink[ClearSystemCache, paclet:ref/ClearSystemCache])["Numeric"] clears only caches of numeric results.

(RefLink[ClearSystemCache, paclet:ref/ClearSystemCache])["Symbolic"] clears only caches of symbolic results.

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

The second evaluation uses a cached value:

Timing[N[Pi,10^5];]

Timing[N[Pi,10^5];]

Clearing the cache will force recomputation:

ClearSystemCache[]

Timing[N[Pi,10^5];]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[SetSystemOptions, paclet:ref/SetSystemOptions])  ▪  (RefLink[SystemOptions, paclet:ref/SystemOptions])  ▪  (RefLink[Update, paclet:ref/Update])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Memory Management, paclet:tutorial/MemoryManagement])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Low-Level System Optimization, paclet:guide/LowLevelSystemOptimization])}, {▪(RefLinkPlain[Time Measurement & Optimization, paclet:guide/TimeMeasurementAndOptimization])}, {▪(RefLinkPlain[Tuning & Debugging, paclet:guide/TuningAndDebugging])}, {▪(RefLinkPlain[Memory Measurement & Optimization, paclet:guide/MemoryMeasurementAndOptimization])}})}})