Skip to content

Instantly share code, notes, and snippets.

@mame
Created June 26, 2018 11:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mame/dd86b349b5a940cca8552d44778049bb to your computer and use it in GitHub Desktop.
Save mame/dd86b349b5a940cca8552d44778049bb to your computer and use it in GitHub Desktop.
<html><head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.5/require.min.js"></script><meta charset="utf-8" />
<!-- generated by ansi-to-html 0.0.3 https://github.com/uu59/ansi-to-html -->
</head><body style="color:#fff;background-color:#000">
<pre>
{"* malloc_info gen statistics"=>[["0", "29575", "12037320"], ["1", "16031", "2734752"], ["2", "910", "5874816"], ["3", "308", "5510752"], ["4", "8", "15440"], ["5", "12", "116848"], ["6", "4", "1312"], ["7", "177", "5559128"], ["8", "103", "59848"], ["9", "8", "768"], ["10", "15", "1288"], ["11", "11", "1080"], ["12", "14", "4496"], ["13", "18", "30400"], ["14", "1", "72"], ["15", "1", "120"], ["16", "30", "232976"], ["17", "7", "504"], ["18", "0", "0"], ["19", "18", "2224"], ["20", "0", "0"], ["21", "17", "18080"], ["22", "0", "0"], ["23", "0", "0"], ["24", "0", "0"], ["25", "0", "0"], ["26", "0", "0"], ["27", "0", "0"], ["28", "0", "0"], ["29", "0", "0"], ["30", "0", "0"], ["31", "0", "0"], ["32", "0", "0"], ["33", "0", "0"], ["34", "0", "0"], ["35", "0", "0"], ["36", "0", "0"], ["37", "0", "0"], ["38", "0", "0"], ["39", "0", "0"], ["40", "0", "0"], ["41", "0", "0"], ["42", "0", "0"], ["43", "0", "0"], ["44", "0", "0"], ["45", "0", "0"], ["46", "0", "0"], ["47", "0", "0"], ["48", "0", "0"], ["49", "0", "0"], ["50", "0", "0"], ["51", "0", "0"], ["52", "0", "0"], ["53", "0", "0"], ["54", "0", "0"], ["55", "0", "0"], ["56", "0", "0"], ["57", "0", "0"], ["58", "0", "0"], ["59", "0", "0"], ["60", "0", "0"], ["61", "0", "0"], ["62", "0", "0"], ["63", "0", "0"], ["64", "0", "0"], ["65", "0", "0"], ["66", "0", "0"], ["67", "0", "0"], ["68", "0", "0"], ["69", "0", "0"], ["70", "0", "0"], ["71", "0", "0"], ["72", "0", "0"], ["73", "0", "0"], ["74", "0", "0"], ["75", "0", "0"], ["76", "0", "0"], ["77", "0", "0"], ["78", "0", "0"], ["79", "0", "0"], ["80", "0", "0"], ["81", "0", "0"], ["82", "0", "0"], ["83", "0", "0"], ["84", "0", "0"], ["85", "0", "0"], ["86", "0", "0"], ["87", "0", "0"], ["88", "0", "0"], ["89", "0", "0"], ["90", "0", "0"], ["91", "0", "0"], ["92", "0", "0"], ["93", "0", "0"], ["94", "0", "0"], ["95", "0", "0"], ["96", "0", "0"], ["97", "0", "0"], ["98", "0", "0"], ["more", "0", "0"]], "* malloc_info size statistics"=>[["16", 1], ["32", 0], ["64", 6266], ["128", 21661], ["256", 6607], ["512", 947], ["1024", 11046], ["2048", 260], ["4096", 179], ["8192", 100], ["more", 201]], "* malloc_info file statistics"=>[["st.c", 2024, 1023776], ["id_table.c", 2002, 322224], ["class.c", 42, 2352], ["string.c", 12181, 1401432], ["iseq.c", 2277, 1114008], ["iseq.h", 1781, 328968], ["compile.c", 12089, 5730680], ["array.c", 2498, 16853152], ["util.c", 56, 5360], ["parse.y", 10588, 862976], ["node.c", 412, 3967768], ["io.c", 135, 447336], ["vm_method.c", 1, 72], ["gc.c", 359, 50632], ["re.c", 784, 71328], ["vm.c", 29, 2984], ["vm_backtrace.c", 3, 408], ["variable.c", 5, 344], ["(null)", 1, 0], ["signal.c", 1, 16424]]}
<script>
requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})
</script>
<div id="1ef3107d-27e5-49a4-827e-d7873125ef18" style=""></div>
<script>
require(['plotly'], function(Plotly) {
Plotly.newPlot(
'1ef3107d-27e5-49a4-827e-d7873125ef18',
[{"x":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"],"y":[29575,16031,910,308,8,12,4,177,103,8,15,11,14,18,1,1,30,7,0,18,0,17],"type":"bar","sort":false}],
{"title":"* malloc_info gen statistics malloc'ed count","autosize":false,"width":1000,"height":300,"xaxis":{"type":"category"}},
{"linkText":"Export to plot.ly","showLink":true}
)
window.addEventListener('resize', function() {
Plotly.Plots.resize(document.getElementById('1ef3107d-27e5-49a4-827e-d7873125ef18'))
})
})
</script>
<script>
requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})
</script>
<div id="460d8601-ca86-406c-b750-8f20f71bd2f8" style=""></div>
<script>
require(['plotly'], function(Plotly) {
Plotly.newPlot(
'460d8601-ca86-406c-b750-8f20f71bd2f8',
[{"x":["0","1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21"],"y":[12037320,2734752,5874816,5510752,15440,116848,1312,5559128,59848,768,1288,1080,4496,30400,72,120,232976,504,0,2224,0,18080],"type":"bar","sort":false}],
{"title":"* malloc_info gen statistics malloc'ed total size","autosize":false,"width":1000,"height":300,"xaxis":{"type":"category"}},
{"linkText":"Export to plot.ly","showLink":true}
)
window.addEventListener('resize', function() {
Plotly.Plots.resize(document.getElementById('460d8601-ca86-406c-b750-8f20f71bd2f8'))
})
})
</script>
<script>
requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})
</script>
<div id="f955c2e9-e110-49de-8114-0a7679376f45" style=""></div>
<script>
require(['plotly'], function(Plotly) {
Plotly.newPlot(
'f955c2e9-e110-49de-8114-0a7679376f45',
[{"x":["16","32","64","128","256","512","1024","2048","4096","8192","more"],"y":[1,0,6266,21661,6607,947,11046,260,179,100,201],"type":"bar","sort":false}],
{"title":"* malloc_info size statistics","autosize":false,"width":1000,"height":300,"xaxis":{"type":"category"}},
{"linkText":"Export to plot.ly","showLink":true}
)
window.addEventListener('resize', function() {
Plotly.Plots.resize(document.getElementById('f955c2e9-e110-49de-8114-0a7679376f45'))
})
})
</script>
<script>
requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})
</script>
<div id="a33b34e8-539d-472f-97b7-e232b5a82401" style=""></div>
<script>
require(['plotly'], function(Plotly) {
Plotly.newPlot(
'a33b34e8-539d-472f-97b7-e232b5a82401',
[{"x":["st.c","id_table.c","class.c","string.c","iseq.c","iseq.h","compile.c","array.c","util.c","parse.y","node.c","io.c","vm_method.c","gc.c","re.c","vm.c","vm_backtrace.c","variable.c","(null)","signal.c"],"y":[2024,2002,42,12181,2277,1781,12089,2498,56,10588,412,135,1,359,784,29,3,5,1,1],"type":"bar","sort":false}],
{"title":"* malloc_info file statistics malloc'ed count","autosize":false,"width":1000,"height":300,"xaxis":{"type":"category"}},
{"linkText":"Export to plot.ly","showLink":true}
)
window.addEventListener('resize', function() {
Plotly.Plots.resize(document.getElementById('a33b34e8-539d-472f-97b7-e232b5a82401'))
})
})
</script>
<script>
requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})
</script>
<div id="2de71f33-dd9e-4217-ba78-655af12e7f7a" style=""></div>
<script>
require(['plotly'], function(Plotly) {
Plotly.newPlot(
'2de71f33-dd9e-4217-ba78-655af12e7f7a',
[{"x":["st.c","id_table.c","class.c","string.c","iseq.c","iseq.h","compile.c","array.c","util.c","parse.y","node.c","io.c","vm_method.c","gc.c","re.c","vm.c","vm_backtrace.c","variable.c","(null)","signal.c"],"y":[1023776,322224,2352,1401432,1114008,328968,5730680,16853152,5360,862976,3967768,447336,72,50632,71328,2984,408,344,0,16424],"type":"bar","sort":false}],
{"title":"* malloc_info file statistics malloc'ed total size","autosize":false,"width":1000,"height":300,"xaxis":{"type":"category"}},
{"linkText":"Export to plot.ly","showLink":true}
)
window.addEventListener('resize', function() {
Plotly.Plots.resize(document.getElementById('2de71f33-dd9e-4217-ba78-655af12e7f7a'))
})
})
</script></pre>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment