memory-luck
v1.0.0
Published
Memory-luck is memory usage & Memory lik Anlys developer tool
Maintainers
Readme
memory-luck
Memory Analysis & Debugging Library
why ?
When you are optimizing Node.js application performance & memory, you will need an analyzing tool or library. You can use a tool like memory-luck, or any other tool you need
Installation 📥
Use Npm :-
npm install memory-luck -DUse Yarn:-
yarn add memory-luck --devExample 🥸
run & anlays this code
import {autoAnlays} from '../dist/index.js';
function workCheck(){
let up = [];
const intervalId = setInterval(() => {
up.push({
val: Array(5000).fill("luck at"),
val2:"luck"
})
}, 100);
setInterval(() => {
//clear up array
up = [];
}, 8000);
autoAnlays(2000,0.05)
}
workCheck()Methods ⚙️
autoAnlays(delay,headup)
- delay :(number):- Defines the time interval in milliseconds between each execution of the analysis.
- headup :(number):- The primary input parameter representing the data or target value to be processed during each analysis cycle.
manuleAnlays(delay,callback)
- callback :(function(nunumber)):- Process and analyze memory usage manually.
Issues 🐛
[!WARNING] Devloper Depends Only
