Skip to content

nleak/nleak-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

25 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

nleak-viewer

A data visualizer tool for NLeak.

Background

  • src folder contains all src code for nleak-viewer
    • Heap Snapshot Lib
    • React Components
    • React Model
    • ...
  • public folder contains required html files for formatting
    • Frontend structure format logic
    • ...

Development

Local Development

  • git clone https://github.com/nleak/nleak-viewer.git
  • npm i
  • npm run start

For local testing, simply run npm run start.

How to use NLeak-Viewer

NLeak viewer is a tool built in reactjs that allows you to visualize the heap snapshot growth of your application. To use it, simply go to https://nleak-viewer.vercel.app/ and upload your nleak_result.json file.

Once you've uploaded the file, NLeak viewer will generate a chart showing the growth of your heap snapshots over time. You'll also see a summary of the last heap snapshot's size, as well as the leak location with source map.

By using NLeak with the viewer, you can easily identify potential memory leaks in your application and take steps to fix them.

Screen Shot 2022-12-04 at 11 32 36 AM

Acknowledgement