🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

github.com/cirocosta/heapvis

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/cirocosta/heapvis

Source
Go Modules
Version
v0.0.0-20191105142302-fd5ec9b3401d
Version published
Created
Source

heapvis - visualizing heap profile diffs over time

the hypothesis

while being able to visualize a given profile taken at a certain point in time is great, the great insights will come from looking at how that changes over time, as time passes.

heapvis aims at making that simple to do.

for instance, given 18 heap profiles, we can tell how the distribution of inuse_space for certain functions look like:

heapvis generate \
  --profile='*.pprof' \
  --function 'github.com/concourse/concourse/atc.collectPlans' \
  --function='io.copyBuffer' \
  --function='github.com/concourse/concourse/atc/db.(*pipeline).LoadVersionsDB' \
  --function='encoding/json.(*decodeState).literalStore' \
  > ./sample.csv
data <- read.table("./sample.csv", header=TRUE, sep=",")
ggplot(data, aes(x = inuse_space, y = fn)) + 
  geom_density_ridges()

FAQs

Package last updated on 05 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts