Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

NewProgrammingUtilitiesPaclet

Guides

  • ProgrammingUtilities

Symbols

  • EchoPerformance
  • SessionHistoryNotebook
PeterBurbery`NewProgrammingUtilitiesPaclet`
EchoPerformance
​
EchoPerformance
[expr]
prints the absolute number of seconds and memory in bytes used to evaluate
expr
and returns
expr
.
​
​
EchoPerformance
[expr,label]
prepends
label
to a printed expression.
​
Details and Options

Examples  
(3)
Basic Examples  
(2)
Evaluate an expression and print the time it took and the memory used:
In[1]:=
EchoPerformance
[Range[100]]
»
Range{7.×
-6
10
s,992 B}
Out[1]=
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100}
​
Use a custom label to print performance data:
In[1]:=
EchoPerformance
[Range[100],"my label"]
»
my label{8.9×
-6
10
s,992 B}
Out[1]=
{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100}
Properties & Relations  
(1)

SeeAlso
Echo
 
▪
EchoFunction
 
▪
AbsoluteTiming
 
▪
Timing
 
▪
RepeatedTiming
 
▪
MaxMemoryUsed
 
▪
EvaluationData
 
▪
TimeConstrained
RelatedGuides
▪
ProgrammingUtilities
RelatedLinks
EchoPerformance
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com