LNCD

Table of Contents

  • LNCD Home
  • Administration
  • Notebooks
  • Journal Club Presentations
  • Publications
  • Current Projects
  • Completed Projects
  • Current Grants
  • Datasets by Project
  • Brain ROIs and Measures
  • ️Tools And Methods
  • Big Data
  • RA Homepage
  • Undergrad Resources
  • Recent Changes
  • Maintenance
  • Site Map
  • Random Page
LNCD
Admin » Usage Profiling and benchmarking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:usage_profiling [2026/06/01 15:31] – [python] willtools:usage_profiling [2026/06/01 15:34] (current) – [Shell] will
Line 8: Line 8:
 #        Maximum resident set size (kbytes): 1053908 #        Maximum resident set size (kbytes): 1053908
 </code> </code>
 +
 +==== Super Computer Slurm ====
  
 When run with [[:tools:slurm]], eg. [[:tools:psc]] When run with [[:tools:slurm]], eg. [[:tools:psc]]
Line 14: Line 16:
 </code> </code>
  
 +==== hyperfine ====
  
 For smaller jobs, ''hyperfine'' runs many time for a more rigorous estimate. For smaller jobs, ''hyperfine'' runs many time for a more rigorous estimate.
Line 45: Line 48:
 ===== python ===== ===== python =====
 <code python> <code python>
 +import timeit
 timeit.timeit('numpy.sqrt(numpy.random.uniform(size=100))', timeit.timeit('numpy.sqrt(numpy.random.uniform(size=100))',
               setup='import numpy')               setup='import numpy')
 # 3.9988546459935606 # 3.9988546459935606
 </code> </code>