Skip to content

Jarred-Sumner/maxrss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

maxrss

Print the maximum memory usage of a process.

$ bunx maxrss echo hello
hello
Peak memory usage: 1.36 MB

If you want to control the prefix of the output, you can use the --prefix flag:

$ bunx maxrss --prefix="boop!" echo hello
hello
boop 1.36 MB

--prefix is the only flag, besides --help.

About

Print how much memory was used in a spawned process

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published