Skip to content

Instantly share code, notes, and snippets.

@quasiben
Created January 13, 2021 19:16
Show Gist options
  • Save quasiben/14d1fbc59e5cb3cd774af36b622505bc to your computer and use it in GitHub Desktop.
Save quasiben/14d1fbc59e5cb3cd774af36b622505bc to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg version="1.1" width="1200" height="662" onload="init(evt)" viewBox="0 0 1200 662" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><!--Flame graph stack visualization. See https://github.com/brendangregg/FlameGraph for latest version, and http://www.brendangregg.com/flamegraphs.html for examples.--><!--NOTES: --><defs><linearGradient id="background" y1="0" y2="1" x1="0" x2="0"><stop stop-color="#eeeeee" offset="5%"/><stop stop-color="#eeeeb0" offset="95%"/></linearGradient></defs><style type="text/css">
text { font-family:"Verdana"; font-size:12px; fill:rgb(0,0,0); }
#title { text-anchor:middle; font-size:17px; }
#search { opacity:0.1; cursor:pointer; }
#search:hover, #search.show { opacity:1; }
#subtitle { text-anchor:middle; font-color:rgb(160,160,160); }
#unzoom { cursor:pointer; }
#frames > *:hover { stroke:black; stroke-width:0.5; cursor:pointer; }
.hide { display:none; }
.parent { opacity:0.5; }
</style><script type="text/ecmascript"><![CDATA[var nametype = 'Function:';
var fontsize = 12;
var fontwidth = 0.59;
var xpad = 10;
var inverted = true;
var searchcolor = 'rgb(230,0,230)';
var fluiddrawing = true;
var truncate_text_right = false;]]><![CDATA["use strict";
var details, searchbtn, unzoombtn, matchedtxt, svg, searching, frames;
function init(evt) {
details = document.getElementById("details").firstChild;
searchbtn = document.getElementById("search");
unzoombtn = document.getElementById("unzoom");
matchedtxt = document.getElementById("matched");
svg = document.getElementsByTagName("svg")[0];
frames = document.getElementById("frames");
searching = 0;
// Use GET parameters to restore a flamegraph's state.
var restore_state = function() {
var params = get_params();
if (params.x && params.y)
zoom(find_group(document.querySelector('[x="' + params.x + '"][y="' + params.y + '"]')));
if (params.s)
search(params.s);
};
if (fluiddrawing) {
// Make width dynamic so the SVG fits its parent's width.
svg.removeAttribute("width");
// Edge requires us to have a viewBox that gets updated with size changes.
var isEdge = /Edge\/\d./i.test(navigator.userAgent);
if (!isEdge) {
svg.removeAttribute("viewBox");
}
var update_for_width_change = function() {
if (isEdge) {
svg.attributes.viewBox.value = "0 0 " + svg.width.baseVal.value + " " + svg.height.baseVal.value;
}
// Keep consistent padding on left and right of frames container.
frames.attributes.width.value = svg.width.baseVal.value - xpad * 2;
// Text truncation needs to be adjusted for the current width.
var el = frames.children;
for(var i = 0; i < el.length; i++) {
update_text(el[i]);
}
// Keep search elements at a fixed distance from right edge.
var svgWidth = svg.width.baseVal.value;
searchbtn.attributes.x.value = svgWidth - xpad - 100;
matchedtxt.attributes.x.value = svgWidth - xpad - 100;
};
window.addEventListener('resize', function() {
update_for_width_change();
});
// This needs to be done asynchronously for Safari to work.
setTimeout(function() {
unzoom();
update_for_width_change();
restore_state();
}, 0);
} else {
restore_state();
}
}
// event listeners
window.addEventListener("click", function(e) {
var target = find_group(e.target);
if (target) {
if (target.nodeName == "a") {
if (e.ctrlKey === false) return;
e.preventDefault();
}
if (target.classList.contains("parent")) unzoom();
zoom(target);
// set parameters for zoom state
var el = target.querySelector("rect");
if (el && el.attributes && el.attributes.y && el.attributes._orig_x) {
var params = get_params()
params.x = el.attributes._orig_x.value;
params.y = el.attributes.y.value;
history.replaceState(null, null, parse_params(params));
}
}
else if (e.target.id == "unzoom") {
unzoom();
// remove zoom state
var params = get_params();
if (params.x) delete params.x;
if (params.y) delete params.y;
history.replaceState(null, null, parse_params(params));
}
else if (e.target.id == "search") search_prompt();
}, false)
// mouse-over for info
// show
window.addEventListener("mouseover", function(e) {
var target = find_group(e.target);
if (target) details.nodeValue = nametype + " " + g_to_text(target);
}, false)
// clear
window.addEventListener("mouseout", function(e) {
var target = find_group(e.target);
if (target) details.nodeValue = ' ';
}, false)
// ctrl-F for search
window.addEventListener("keydown",function (e) {
if (e.keyCode === 114 || (e.ctrlKey && e.keyCode === 70)) {
e.preventDefault();
search_prompt();
}
}, false)
// functions
function get_params() {
var params = {};
var paramsarr = window.location.search.substr(1).split('&');
for (var i = 0; i < paramsarr.length; ++i) {
var tmp = paramsarr[i].split("=");
if (!tmp[0] || !tmp[1]) continue;
params[tmp[0]] = decodeURIComponent(tmp[1]);
}
return params;
}
function parse_params(params) {
var uri = "?";
for (var key in params) {
uri += key + '=' + encodeURIComponent(params[key]) + '&';
}
if (uri.slice(-1) == "&")
uri = uri.substring(0, uri.length - 1);
if (uri == '?')
uri = window.location.href.split('?')[0];
return uri;
}
function find_child(node, selector) {
var children = node.querySelectorAll(selector);
if (children.length) return children[0];
return;
}
function find_group(node) {
var parent = node.parentElement;
if (!parent) return;
if (parent.id == "frames") return node;
return find_group(parent);
}
function orig_save(e, attr, val) {
if (e.attributes["_orig_" + attr] != undefined) return;
if (e.attributes[attr] == undefined) return;
if (val == undefined) val = e.attributes[attr].value;
e.setAttribute("_orig_" + attr, val);
}
function orig_load(e, attr) {
if (e.attributes["_orig_"+attr] == undefined) return;
e.attributes[attr].value = e.attributes["_orig_" + attr].value;
e.removeAttribute("_orig_" + attr);
}
function g_to_text(e) {
var text = find_child(e, "title").firstChild.nodeValue;
return (text)
}
function g_to_func(e) {
var func = g_to_text(e);
// if there's any manipulation we want to do to the function
// name before it's searched, do it here before returning.
return (func);
}
function update_text(e) {
var r = find_child(e, "rect");
var t = find_child(e, "text");
var w = parseFloat(r.attributes.width.value) * frames.attributes.width.value / 100 - 3;
var txt = find_child(e, "title").textContent.replace(/\([^(]*\)$/,"");
t.attributes.x.value = format_percent((parseFloat(r.attributes.x.value) + (100 * 3 / frames.attributes.width.value)));
// Smaller than this size won't fit anything
if (w < 2 * fontsize * fontwidth) {
t.textContent = "";
return;
}
t.textContent = txt;
// Fit in full text width
if (/^ *\$/.test(txt) || t.getComputedTextLength() < w)
return;
if (truncate_text_right) {
// Truncate the right side of the text.
for (var x = txt.length - 2; x > 0; x--) {
if (t.getSubStringLength(0, x + 2) <= w) {
t.textContent = txt.substring(0, x) + "..";
return;
}
}
} else {
// Truncate the left side of the text.
for (var x = 2; x < txt.length; x++) {
if (t.getSubStringLength(x - 2, txt.length) <= w) {
t.textContent = ".." + txt.substring(x, txt.length);
return;
}
}
}
t.textContent = "";
}
// zoom
function zoom_reset(e) {
if (e.attributes != undefined) {
orig_load(e, "x");
orig_load(e, "width");
}
if (e.childNodes == undefined) return;
for(var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_reset(c[i]);
}
}
function zoom_child(e, x, ratio) {
if (e.attributes != undefined) {
if (e.attributes.x != undefined) {
orig_save(e, "x");
e.attributes.x.value = format_percent((parseFloat(e.attributes.x.value) - x) * ratio);
if (e.tagName == "text") {
e.attributes.x.value = format_percent(parseFloat(find_child(e.parentNode, "rect[x]").attributes.x.value) + (100 * 3 / frames.attributes.width.value));
}
}
if (e.attributes.width != undefined) {
orig_save(e, "width");
e.attributes.width.value = format_percent(parseFloat(e.attributes.width.value) * ratio);
}
}
if (e.childNodes == undefined) return;
for(var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_child(c[i], x, ratio);
}
}
function zoom_parent(e) {
if (e.attributes) {
if (e.attributes.x != undefined) {
orig_save(e, "x");
e.attributes.x.value = "0.0%";
}
if (e.attributes.width != undefined) {
orig_save(e, "width");
e.attributes.width.value = "100.0%";
}
}
if (e.childNodes == undefined) return;
for(var i = 0, c = e.childNodes; i < c.length; i++) {
zoom_parent(c[i]);
}
}
function zoom(node) {
var attr = find_child(node, "rect").attributes;
var width = parseFloat(attr.width.value);
var xmin = parseFloat(attr.x.value);
var xmax = xmin + width;
var ymin = parseFloat(attr.y.value);
var ratio = 100 / width;
// XXX: Workaround for JavaScript float issues (fix me)
var fudge = 0.001;
unzoombtn.classList.remove("hide");
var el = frames.children;
for (var i = 0; i < el.length; i++) {
var e = el[i];
var a = find_child(e, "rect").attributes;
var ex = parseFloat(a.x.value);
var ew = parseFloat(a.width.value);
// Is it an ancestor
if (!inverted) {
var upstack = parseFloat(a.y.value) > ymin;
} else {
var upstack = parseFloat(a.y.value) < ymin;
}
if (upstack) {
// Direct ancestor
if (ex <= xmin && (ex+ew+fudge) >= xmax) {
e.classList.add("parent");
zoom_parent(e);
update_text(e);
}
// not in current path
else
e.classList.add("hide");
}
// Children maybe
else {
// no common path
if (ex < xmin || ex + fudge >= xmax) {
e.classList.add("hide");
}
else {
zoom_child(e, xmin, ratio);
update_text(e);
}
}
}
}
function unzoom() {
unzoombtn.classList.add("hide");
var el = frames.children;
for(var i = 0; i < el.length; i++) {
el[i].classList.remove("parent");
el[i].classList.remove("hide");
zoom_reset(el[i]);
update_text(el[i]);
}
}
// search
function reset_search() {
var el = document.querySelectorAll("#frames rect");
for (var i = 0; i < el.length; i++) {
orig_load(el[i], "fill")
}
var params = get_params();
delete params.s;
history.replaceState(null, null, parse_params(params));
}
function search_prompt() {
if (!searching) {
var term = prompt("Enter a search term (regexp " +
"allowed, eg: ^ext4_)", "");
if (term != null) {
search(term)
}
} else {
reset_search();
searching = 0;
searchbtn.classList.remove("show");
searchbtn.firstChild.nodeValue = "Search"
matchedtxt.classList.add("hide");
matchedtxt.firstChild.nodeValue = ""
}
}
function search(term) {
var re = new RegExp(term);
var el = frames.children;
var matches = new Object();
var maxwidth = 0;
for (var i = 0; i < el.length; i++) {
var e = el[i];
var func = g_to_func(e);
var rect = find_child(e, "rect");
if (func == null || rect == null)
continue;
// Save max width. Only works as we have a root frame
var w = parseFloat(rect.attributes.width.value);
if (w > maxwidth)
maxwidth = w;
if (func.match(re)) {
// highlight
var x = parseFloat(rect.attributes.x.value);
orig_save(rect, "fill");
rect.attributes.fill.value = searchcolor;
// remember matches
if (matches[x] == undefined) {
matches[x] = w;
} else {
if (w > matches[x]) {
// overwrite with parent
matches[x] = w;
}
}
searching = 1;
}
}
if (!searching)
return;
var params = get_params();
params.s = term;
history.replaceState(null, null, parse_params(params));
searchbtn.classList.add("show");
searchbtn.firstChild.nodeValue = "Reset Search";
// calculate percent matched, excluding vertical overlap
var count = 0;
var lastx = -1;
var lastw = 0;
var keys = Array();
for (k in matches) {
if (matches.hasOwnProperty(k))
keys.push(k);
}
// sort the matched frames by their x location
// ascending, then width descending
keys.sort(function(a, b){
return a - b;
});
// Step through frames saving only the biggest bottom-up frames
// thanks to the sort order. This relies on the tree property
// where children are always smaller than their parents.
var fudge = 0.0001; // JavaScript floating point
for (var k in keys) {
var x = parseFloat(keys[k]);
var w = matches[keys[k]];
if (x >= lastx + lastw - fudge) {
count += w;
lastx = x;
lastw = w;
}
}
// display matched percent
matchedtxt.classList.remove("hide");
var pct = 100 * count / maxwidth;
if (pct != 100) pct = pct.toFixed(1);
matchedtxt.firstChild.nodeValue = "Matched: " + pct + "%";
}
function format_percent(n) {
return n.toFixed(4) + "%";
}
]]></script><rect x="0" y="0" width="100%" height="662" fill="url(#background)"/><text id="title" x="50.0000%" y="24.00">py-spy</text><text id="details" x="10" y="645.00"> </text><text id="unzoom" class="hide" x="10" y="24.00">Reset Zoom</text><text id="search" x="1090" y="24.00">Search</text><text id="matched" x="1090" y="645.00"> </text><svg id="frames" x="10" width="1180"><g><title>wait (tornado/locks.py:252) (664 samples, 1.07%)</title><rect x="3.9413%" y="356" width="1.0664%" height="15" fill="rgb(227,0,7)"/><text x="4.1913%" y="366.50"></text></g><g><title>_background_send (distributed/batched.py:78) (752 samples, 1.21%)</title><rect x="3.8112%" y="340" width="1.2078%" height="15" fill="rgb(217,0,24)"/><text x="4.0612%" y="350.50"></text></g><g><title>run (tornado/gen.py:775) (1,134 samples, 1.82%)</title><rect x="3.2635%" y="324" width="1.8213%" height="15" fill="rgb(221,193,54)"/><text x="3.5135%" y="334.50">r..</text></g><g><title>_run_callback (tornado/ioloop.py:741) (1,984 samples, 3.19%)</title><rect x="2.8315%" y="292" width="3.1864%" height="15" fill="rgb(248,212,6)"/><text x="3.0815%" y="302.50">_ru..</text></g><g><title>inner (tornado/gen.py:814) (1,941 samples, 3.12%)</title><rect x="2.9006%" y="308" width="3.1174%" height="15" fill="rgb(208,68,35)"/><text x="3.1506%" y="318.50">inn..</text></g><g><title>&lt;lambda&gt; (tornado/ioloop.py:688) (2,064 samples, 3.31%)</title><rect x="2.7126%" y="276" width="3.3149%" height="15" fill="rgb(232,128,0)"/><text x="2.9626%" y="286.50">&lt;la..</text></g><g><title>move_task_confirm (distributed/stealing.py:217) (788 samples, 1.27%)</title><rect x="7.7396%" y="324" width="1.2656%" height="15" fill="rgb(207,160,47)"/><text x="7.9896%" y="334.50"></text></g><g><title>_extract_serialize (distributed/protocol/serialize.py:472) (736 samples, 1.18%)</title><rect x="11.7692%" y="420" width="1.1821%" height="15" fill="rgb(228,23,34)"/><text x="12.0192%" y="430.50"></text></g><g><title>extract_serialize (distributed/protocol/serialize.py:460) (2,471 samples, 3.97%)</title><rect x="9.9704%" y="388" width="3.9686%" height="15" fill="rgb(218,30,26)"/><text x="10.2204%" y="398.50">extr..</text></g><g><title>_extract_serialize (distributed/protocol/serialize.py:472) (2,235 samples, 3.59%)</title><rect x="10.3495%" y="404" width="3.5896%" height="15" fill="rgb(220,122,19)"/><text x="10.5995%" y="414.50">_ext..</text></g><g><title>dumps (distributed/protocol/core.py:38) (2,549 samples, 4.09%)</title><rect x="9.8516%" y="372" width="4.0939%" height="15" fill="rgb(250,228,42)"/><text x="10.1016%" y="382.50">dump..</text></g><g><title>Packer__pack (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (663 samples, 1.06%)</title><rect x="14.2121%" y="468" width="1.0648%" height="15" fill="rgb(240,193,28)"/><text x="14.4621%" y="478.50"></text></g><g><title>Packer__pack (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (685 samples, 1.10%)</title><rect x="14.1880%" y="452" width="1.1002%" height="15" fill="rgb(216,20,37)"/><text x="14.4380%" y="462.50"></text></g><g><title>dumps_msgpack (distributed/protocol/core.py:184) (820 samples, 1.32%)</title><rect x="13.9872%" y="388" width="1.3170%" height="15" fill="rgb(206,188,39)"/><text x="14.2372%" y="398.50"></text></g><g><title>packb (msgpack/__init__.py:35) (796 samples, 1.28%)</title><rect x="14.0258%" y="404" width="1.2784%" height="15" fill="rgb(217,207,13)"/><text x="14.2758%" y="414.50"></text></g><g><title>pack (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (747 samples, 1.20%)</title><rect x="14.1045%" y="420" width="1.1997%" height="15" fill="rgb(231,73,38)"/><text x="14.3545%" y="430.50"></text></g><g><title>Packer_pack (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (744 samples, 1.19%)</title><rect x="14.1093%" y="436" width="1.1949%" height="15" fill="rgb(225,20,46)"/><text x="14.3593%" y="446.50"></text></g><g><title>dumps (distributed/protocol/core.py:39) (871 samples, 1.40%)</title><rect x="13.9455%" y="372" width="1.3989%" height="15" fill="rgb(210,31,41)"/><text x="14.1955%" y="382.50"></text></g><g><title>_to_frames (distributed/comm/utils.py:32) (3,599 samples, 5.78%)</title><rect x="9.6043%" y="356" width="5.7802%" height="15" fill="rgb(221,200,47)"/><text x="9.8543%" y="366.50">_to_fra..</text></g><g><title>write (distributed/comm/tcp.py:230) (3,680 samples, 5.91%)</title><rect x="9.4758%" y="324" width="5.9103%" height="15" fill="rgb(226,26,5)"/><text x="9.7258%" y="334.50">write (d..</text></g><g><title>to_frames (distributed/comm/utils.py:52) (3,622 samples, 5.82%)</title><rect x="9.5689%" y="340" width="5.8172%" height="15" fill="rgb(249,33,26)"/><text x="9.8189%" y="350.50">to_fram..</text></g><g><title>write (tornado/iostream.py:544) (795 samples, 1.28%)</title><rect x="16.0863%" y="340" width="1.2768%" height="15" fill="rgb(235,183,28)"/><text x="16.3363%" y="350.50"></text></g><g><title>write (distributed/comm/tcp.py:248) (1,059 samples, 1.70%)</title><rect x="15.7202%" y="324" width="1.7008%" height="15" fill="rgb(221,5,38)"/><text x="15.9702%" y="334.50"></text></g><g><title>task_step_impl (_asynciomodule.c:2641) (6,861 samples, 11.02%)</title><rect x="6.4387%" y="308" width="11.0192%" height="15" fill="rgb(247,18,42)"/><text x="6.6887%" y="318.50">task_step_impl (..</text></g><g><title>_try_inline_read (tornado/iostream.py:839) (702 samples, 1.13%)</title><rect x="19.3675%" y="404" width="1.1275%" height="15" fill="rgb(241,131,45)"/><text x="19.6175%" y="414.50"></text></g><g><title>_read_from_buffer (tornado/iostream.py:905) (643 samples, 1.03%)</title><rect x="19.4623%" y="420" width="1.0327%" height="15" fill="rgb(249,31,29)"/><text x="19.7123%" y="430.50"></text></g><g><title>read_bytes (tornado/iostream.py:426) (970 samples, 1.56%)</title><rect x="19.0913%" y="388" width="1.5579%" height="15" fill="rgb(225,111,53)"/><text x="19.3413%" y="398.50"></text></g><g><title>read (distributed/comm/tcp.py:187) (1,637 samples, 2.63%)</title><rect x="18.0249%" y="372" width="2.6291%" height="15" fill="rgb(238,160,17)"/><text x="18.2749%" y="382.50">re..</text></g><g><title>read (distributed/comm/tcp.py:189) (710 samples, 1.14%)</title><rect x="20.8804%" y="372" width="1.1403%" height="15" fill="rgb(214,148,48)"/><text x="21.1304%" y="382.50"></text></g><g><title>read (distributed/comm/tcp.py:196) (1,037 samples, 1.67%)</title><rect x="22.4319%" y="372" width="1.6655%" height="15" fill="rgb(232,36,49)"/><text x="22.6819%" y="382.50"></text></g><g><title>loads_msgpack (distributed/protocol/core.py:222) (1,675 samples, 2.69%)</title><rect x="25.3855%" y="436" width="2.6902%" height="15" fill="rgb(209,103,24)"/><text x="25.6355%" y="446.50">lo..</text></g><g><title>unpackb (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (1,485 samples, 2.39%)</title><rect x="25.6906%" y="452" width="2.3850%" height="15" fill="rgb(229,88,8)"/><text x="25.9406%" y="462.50">un..</text></g><g><title>unpackb [clone .isra.0] (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (1,391 samples, 2.23%)</title><rect x="25.8416%" y="468" width="2.2340%" height="15" fill="rgb(213,181,19)"/><text x="26.0916%" y="478.50">u..</text></g><g><title>unpack_execute&lt;true&gt; (msgpack/_cmsgpack.cpython-38-x86_64-linux-gnu.so) (1,354 samples, 2.17%)</title><rect x="25.9010%" y="484" width="2.1746%" height="15" fill="rgb(254,191,54)"/><text x="26.1510%" y="494.50">u..</text></g><g><title>loads (distributed/protocol/core.py:127) (1,839 samples, 2.95%)</title><rect x="25.1397%" y="420" width="2.9536%" height="15" fill="rgb(241,83,37)"/><text x="25.3897%" y="430.50">loa..</text></g><g><title>_from_frames (distributed/comm/utils.py:63) (2,149 samples, 3.45%)</title><rect x="24.6595%" y="404" width="3.4514%" height="15" fill="rgb(233,36,39)"/><text x="24.9095%" y="414.50">_fr..</text></g><g><title>read (distributed/comm/tcp.py:212) (2,449 samples, 3.93%)</title><rect x="24.1825%" y="372" width="3.9333%" height="15" fill="rgb(226,3,54)"/><text x="24.4325%" y="382.50">read..</text></g><g><title>from_frames (distributed/comm/utils.py:80) (2,189 samples, 3.52%)</title><rect x="24.6001%" y="388" width="3.5157%" height="15" fill="rgb(245,192,40)"/><text x="24.8501%" y="398.50">fro..</text></g><g><title>handle_stream (distributed/core.py:545) (6,588 samples, 10.58%)</title><rect x="17.5880%" y="356" width="10.5808%" height="15" fill="rgb(238,167,29)"/><text x="17.8380%" y="366.50">handle_stream (..</text></g><g><title>handle_stream (distributed/core.py:559) (1,364 samples, 2.19%)</title><rect x="28.9606%" y="356" width="2.1907%" height="15" fill="rgb(232,182,51)"/><text x="29.2106%" y="366.50">h..</text></g><g><title>is_coroutine_function (distributed/utils.py:1347) (1,286 samples, 2.07%)</title><rect x="29.0858%" y="372" width="2.0654%" height="15" fill="rgb(231,60,39)"/><text x="29.3358%" y="382.50">i..</text></g><g><title>_remove_from_processing (scheduler.c:97072) (631 samples, 1.01%)</title><rect x="38.5664%" y="564" width="1.0134%" height="15" fill="rgb(208,69,12)"/><text x="38.8164%" y="574.50"></text></g><g><title>_Py_XDECREF (object.h:541) (631 samples, 1.01%)</title><rect x="38.5664%" y="580" width="1.0134%" height="15" fill="rgb(235,93,37)"/><text x="38.8164%" y="590.50"></text></g><g><title>_Py_DECREF (object.h:470) (631 samples, 1.01%)</title><rect x="38.5664%" y="596" width="1.0134%" height="15" fill="rgb(213,116,39)"/><text x="38.8164%" y="606.50"></text></g><g><title>_remove_from_processing (scheduler.c:96853) (898 samples, 1.44%)</title><rect x="38.2838%" y="548" width="1.4422%" height="15" fill="rgb(222,207,29)"/><text x="38.5338%" y="558.50"></text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (914 samples, 1.47%)</title><rect x="38.2629%" y="532" width="1.4679%" height="15" fill="rgb(206,96,30)"/><text x="38.5129%" y="542.50"></text></g><g><title>transition_processing_memory (scheduler.c:103968) (935 samples, 1.50%)</title><rect x="38.2404%" y="516" width="1.5017%" height="15" fill="rgb(218,138,4)"/><text x="38.4904%" y="526.50"></text></g><g><title>_add_to_memory (scheduler.c:97387) (1,753 samples, 2.82%)</title><rect x="39.9766%" y="532" width="2.8154%" height="15" fill="rgb(250,191,14)"/><text x="40.2266%" y="542.50">_a..</text></g><g><title>transition_processing_memory (scheduler.c:103999) (1,859 samples, 2.99%)</title><rect x="39.8352%" y="516" width="2.9857%" height="15" fill="rgb(239,60,40)"/><text x="40.0852%" y="526.50">tra..</text></g><g><title>transition_processing_memory (scheduler.c:102715) (3,686 samples, 5.92%)</title><rect x="37.0214%" y="500" width="5.9200%" height="15" fill="rgb(206,27,48)"/><text x="37.2714%" y="510.50">transiti..</text></g><g><title>transition (scheduler.c:113155) (3,889 samples, 6.25%)</title><rect x="36.7130%" y="484" width="6.2460%" height="15" fill="rgb(225,35,8)"/><text x="36.9630%" y="494.50">transiti..</text></g><g><title>transition (scheduler.c:113899) (747 samples, 1.20%)</title><rect x="43.6866%" y="484" width="1.1997%" height="15" fill="rgb(250,213,24)"/><text x="43.9366%" y="494.50"></text></g><g><title>transition (scheduler.c:112812) (5,796 samples, 9.31%)</title><rect x="35.7687%" y="436" width="9.3087%" height="15" fill="rgb(247,123,22)"/><text x="36.0187%" y="446.50">transition (s..</text></g><g><title>_Py_XDECREF (object.h:541) (5,796 samples, 9.31%)</title><rect x="35.7687%" y="452" width="9.3087%" height="15" fill="rgb(231,138,38)"/><text x="36.0187%" y="462.50">_Py_XDECREF (..</text></g><g><title>_Py_DECREF (object.h:470) (5,796 samples, 9.31%)</title><rect x="35.7687%" y="468" width="9.3087%" height="15" fill="rgb(231,145,46)"/><text x="36.0187%" y="478.50">_Py_DECREF (o..</text></g><g><title>stimulus_task_finished (scheduler.c:48293) (5,977 samples, 9.60%)</title><rect x="35.4972%" y="420" width="9.5994%" height="15" fill="rgb(251,118,11)"/><text x="35.7472%" y="430.50">stimulus_task_..</text></g><g><title>stimulus_task_finished (scheduler.c:48040) (7,206 samples, 11.57%)</title><rect x="33.6101%" y="404" width="11.5733%" height="15" fill="rgb(217,147,25)"/><text x="33.8601%" y="414.50">stimulus_task_fin..</text></g><g><title>handle_task_finished (scheduler.c:64065) (7,409 samples, 11.90%)</title><rect x="33.3082%" y="388" width="11.8993%" height="15" fill="rgb(247,81,37)"/><text x="33.5582%" y="398.50">handle_task_finish..</text></g><g><title>transition_memory_released (scheduler.c:104410) (1,593 samples, 2.56%)</title><rect x="46.8425%" y="548" width="2.5585%" height="15" fill="rgb(209,12,38)"/><text x="47.0925%" y="558.50">tr..</text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (1,307 samples, 2.10%)</title><rect x="49.5407%" y="580" width="2.0991%" height="15" fill="rgb(227,1,9)"/><text x="49.7907%" y="590.50">_..</text></g><g><title>decide_worker (scheduler.c:99869) (1,298 samples, 2.08%)</title><rect x="49.5551%" y="596" width="2.0847%" height="15" fill="rgb(248,47,43)"/><text x="49.8051%" y="606.50">d..</text></g><g><title>transition_waiting_processing (scheduler.c:101209) (1,320 samples, 2.12%)</title><rect x="49.5262%" y="564" width="2.1200%" height="15" fill="rgb(221,10,30)"/><text x="49.7762%" y="574.50">t..</text></g><g><title>transition_waiting_processing (scheduler.c:101552) (1,144 samples, 1.84%)</title><rect x="52.9359%" y="564" width="1.8373%" height="15" fill="rgb(210,229,1)"/><text x="53.1859%" y="574.50">t..</text></g><g><title>send_task_to_worker (scheduler.c:62945) (1,125 samples, 1.81%)</title><rect x="52.9664%" y="580" width="1.8068%" height="15" fill="rgb(222,148,37)"/><text x="53.2164%" y="590.50">s..</text></g><g><title>transition (scheduler.c:113155) (5,025 samples, 8.07%)</title><rect x="46.7381%" y="532" width="8.0705%" height="15" fill="rgb(234,67,33)"/><text x="46.9881%" y="542.50">transition ..</text></g><g><title>transition_waiting_processing (scheduler.c:100925) (3,356 samples, 5.39%)</title><rect x="49.4186%" y="548" width="5.3900%" height="15" fill="rgb(247,98,35)"/><text x="49.6686%" y="558.50">transit..</text></g><g><title>transition (scheduler.c:112812) (6,913 samples, 11.10%)</title><rect x="45.6604%" y="484" width="11.1027%" height="15" fill="rgb(247,138,52)"/><text x="45.9104%" y="494.50">transition (sche..</text></g><g><title>_Py_XDECREF (object.h:541) (6,913 samples, 11.10%)</title><rect x="45.6604%" y="500" width="11.1027%" height="15" fill="rgb(213,79,30)"/><text x="45.9104%" y="510.50">_Py_XDECREF (obj..</text></g><g><title>_Py_DECREF (object.h:470) (6,913 samples, 11.10%)</title><rect x="45.6604%" y="516" width="11.1027%" height="15" fill="rgb(246,177,23)"/><text x="45.9104%" y="526.50">_Py_DECREF (obje..</text></g><g><title>transitions (scheduler.c:114771) (6,941 samples, 11.15%)</title><rect x="45.6219%" y="468" width="11.1477%" height="15" fill="rgb(230,62,27)"/><text x="45.8719%" y="478.50">transitions (sch..</text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (7,265 samples, 11.67%)</title><rect x="45.3071%" y="436" width="11.6681%" height="15" fill="rgb(216,154,8)"/><text x="45.5571%" y="446.50">__Pyx_PyObject_Ca..</text></g><g><title>transitions (scheduler.c:114576) (7,245 samples, 11.64%)</title><rect x="45.3392%" y="452" width="11.6359%" height="15" fill="rgb(244,35,45)"/><text x="45.5892%" y="462.50">transitions (sche..</text></g><g><title>handle_task_finished (scheduler.c:64092) (7,279 samples, 11.69%)</title><rect x="45.2894%" y="388" width="11.6905%" height="15" fill="rgb(251,115,12)"/><text x="45.5394%" y="398.50">handle_task_finis..</text></g><g><title>_Py_XDECREF (object.h:541) (7,279 samples, 11.69%)</title><rect x="45.2894%" y="404" width="11.6905%" height="15" fill="rgb(240,54,50)"/><text x="45.5394%" y="414.50">_Py_XDECREF (obje..</text></g><g><title>_Py_DECREF (object.h:470) (7,279 samples, 11.69%)</title><rect x="45.2894%" y="420" width="11.6905%" height="15" fill="rgb(233,84,52)"/><text x="45.5394%" y="430.50">_Py_DECREF (objec..</text></g><g><title>handle_task_finished (scheduler.c:63964) (15,173 samples, 24.37%)</title><rect x="32.6144%" y="372" width="24.3688%" height="15" fill="rgb(207,117,47)"/><text x="32.8644%" y="382.50">handle_task_finished (scheduler.c:63964)</text></g><g><title>handle_stream (distributed/core.py:563) (16,408 samples, 26.35%)</title><rect x="31.2701%" y="356" width="26.3523%" height="15" fill="rgb(249,43,39)"/><text x="31.5201%" y="366.50">handle_stream (distributed/core.py:563)</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158463) (25,281 samples, 40.60%)</title><rect x="17.5463%" y="340" width="40.6029%" height="15" fill="rgb(209,38,44)"/><text x="17.7963%" y="350.50">__Pyx_Coroutine_Send (scheduler.c:158463)</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158443) (25,387 samples, 40.77%)</title><rect x="17.5382%" y="324" width="40.7732%" height="15" fill="rgb(236,212,23)"/><text x="17.7882%" y="334.50">__Pyx_Coroutine_Send (scheduler.c:158443)</text></g><g><title>transition_released_forgotten (scheduler.c:112064) (746 samples, 1.20%)</title><rect x="58.8317%" y="596" width="1.1981%" height="15" fill="rgb(242,79,21)"/><text x="59.0817%" y="606.50"></text></g><g><title>transition (scheduler.c:113155) (777 samples, 1.25%)</title><rect x="58.7900%" y="580" width="1.2479%" height="15" fill="rgb(211,96,35)"/><text x="59.0400%" y="590.50"></text></g><g><title>transition (scheduler.c:112812) (1,489 samples, 2.39%)</title><rect x="58.4575%" y="532" width="2.3914%" height="15" fill="rgb(253,215,40)"/><text x="58.7075%" y="542.50">tr..</text></g><g><title>_Py_XDECREF (object.h:541) (1,489 samples, 2.39%)</title><rect x="58.4575%" y="548" width="2.3914%" height="15" fill="rgb(211,81,21)"/><text x="58.7075%" y="558.50">_P..</text></g><g><title>_Py_DECREF (object.h:470) (1,489 samples, 2.39%)</title><rect x="58.4575%" y="564" width="2.3914%" height="15" fill="rgb(208,190,38)"/><text x="58.7075%" y="574.50">_P..</text></g><g><title>transitions (scheduler.c:114771) (1,501 samples, 2.41%)</title><rect x="58.4415%" y="516" width="2.4107%" height="15" fill="rgb(235,213,38)"/><text x="58.6915%" y="526.50">tr..</text></g><g><title>client_releases_keys (scheduler.c:55467) (1,637 samples, 2.63%)</title><rect x="58.3274%" y="436" width="2.6291%" height="15" fill="rgb(237,122,38)"/><text x="58.5774%" y="446.50">cl..</text></g><g><title>_Py_XDECREF (object.h:541) (1,637 samples, 2.63%)</title><rect x="58.3274%" y="452" width="2.6291%" height="15" fill="rgb(244,218,35)"/><text x="58.5774%" y="462.50">_P..</text></g><g><title>_Py_DECREF (object.h:470) (1,637 samples, 2.63%)</title><rect x="58.3274%" y="468" width="2.6291%" height="15" fill="rgb(240,68,47)"/><text x="58.5774%" y="478.50">_P..</text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (1,637 samples, 2.63%)</title><rect x="58.3274%" y="484" width="2.6291%" height="15" fill="rgb(210,16,53)"/><text x="58.5774%" y="494.50">__..</text></g><g><title>transitions (scheduler.c:114576) (1,637 samples, 2.63%)</title><rect x="58.3274%" y="500" width="2.6291%" height="15" fill="rgb(235,124,12)"/><text x="58.5774%" y="510.50">tr..</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158471) (1,865 samples, 3.00%)</title><rect x="58.3114%" y="324" width="2.9953%" height="15" fill="rgb(224,169,11)"/><text x="58.5614%" y="334.50">__P..</text></g><g><title>__Pyx_Coroutine_FinishDelegation (scheduler.c:158424) (1,865 samples, 3.00%)</title><rect x="58.3114%" y="340" width="2.9953%" height="15" fill="rgb(250,166,2)"/><text x="58.5614%" y="350.50">__P..</text></g><g><title>__Pyx_Coroutine_SendEx (scheduler.c:158384) (1,865 samples, 3.00%)</title><rect x="58.3114%" y="356" width="2.9953%" height="15" fill="rgb(242,216,29)"/><text x="58.5614%" y="366.50">__P..</text></g><g><title>__pyx_gb_11distributed_9scheduler_9Scheduler_69generator6 (scheduler.c:60833) (1,865 samples, 3.00%)</title><rect x="58.3114%" y="372" width="2.9953%" height="15" fill="rgb(230,116,27)"/><text x="58.5614%" y="382.50">__p..</text></g><g><title>remove_client (scheduler.c:61925) (1,865 samples, 3.00%)</title><rect x="58.3114%" y="388" width="2.9953%" height="15" fill="rgb(228,99,48)"/><text x="58.5614%" y="398.50">rem..</text></g><g><title>remove_client (scheduler.c:62376) (1,862 samples, 2.99%)</title><rect x="58.3162%" y="404" width="2.9905%" height="15" fill="rgb(253,11,6)"/><text x="58.5662%" y="414.50">rem..</text></g><g><title>client_releases_keys (scheduler.c:55053) (1,862 samples, 2.99%)</title><rect x="58.3162%" y="420" width="2.9905%" height="15" fill="rgb(247,143,39)"/><text x="58.5662%" y="430.50">cli..</text></g><g><title>batch_dict_exact (_pickle.c:3279) (718 samples, 1.15%)</title><rect x="62.9642%" y="612" width="1.1532%" height="15" fill="rgb(236,97,10)"/><text x="63.2142%" y="622.50"></text></g><g><title>save_dict (_pickle.c:3335) (1,026 samples, 1.65%)</title><rect x="62.9208%" y="596" width="1.6478%" height="15" fill="rgb(233,208,19)"/><text x="63.1708%" y="606.50"></text></g><g><title>save (_pickle.c:4323) (1,030 samples, 1.65%)</title><rect x="62.9192%" y="580" width="1.6542%" height="15" fill="rgb(216,164,2)"/><text x="63.1692%" y="590.50"></text></g><g><title>save_reduce (_pickle.c:4229) (1,056 samples, 1.70%)</title><rect x="62.9128%" y="516" width="1.6960%" height="15" fill="rgb(220,129,5)"/><text x="63.1628%" y="526.50"></text></g><g><title>save (_pickle.c:4339) (1,056 samples, 1.70%)</title><rect x="62.9128%" y="532" width="1.6960%" height="15" fill="rgb(242,17,10)"/><text x="63.1628%" y="542.50"></text></g><g><title>save_tuple (_pickle.c:2838) (1,056 samples, 1.70%)</title><rect x="62.9128%" y="548" width="1.6960%" height="15" fill="rgb(242,107,0)"/><text x="63.1628%" y="558.50"></text></g><g><title>store_tuple_elements (_pickle.c:2760) (1,056 samples, 1.70%)</title><rect x="62.9128%" y="564" width="1.6960%" height="15" fill="rgb(251,28,31)"/><text x="63.1628%" y="574.50"></text></g><g><title>save (_pickle.c:4339) (1,067 samples, 1.71%)</title><rect x="62.8967%" y="452" width="1.7137%" height="15" fill="rgb(233,223,10)"/><text x="63.1467%" y="462.50"></text></g><g><title>save_tuple (_pickle.c:2811) (1,067 samples, 1.71%)</title><rect x="62.8967%" y="468" width="1.7137%" height="15" fill="rgb(215,21,27)"/><text x="63.1467%" y="478.50"></text></g><g><title>store_tuple_elements (_pickle.c:2760) (1,067 samples, 1.71%)</title><rect x="62.8967%" y="484" width="1.7137%" height="15" fill="rgb(232,23,21)"/><text x="63.1467%" y="494.50"></text></g><g><title>save (_pickle.c:4472) (1,064 samples, 1.71%)</title><rect x="62.9015%" y="500" width="1.7089%" height="15" fill="rgb(244,5,23)"/><text x="63.1515%" y="510.50"></text></g><g><title>_pickle_dumps_impl (_pickle.c:7800) (1,073 samples, 1.72%)</title><rect x="62.8951%" y="388" width="1.7233%" height="15" fill="rgb(226,81,46)"/><text x="63.1451%" y="398.50"></text></g><g><title>dump (_pickle.c:4519) (1,073 samples, 1.72%)</title><rect x="62.8951%" y="404" width="1.7233%" height="15" fill="rgb(247,70,30)"/><text x="63.1451%" y="414.50"></text></g><g><title>save (_pickle.c:4472) (1,072 samples, 1.72%)</title><rect x="62.8967%" y="420" width="1.7217%" height="15" fill="rgb(212,68,19)"/><text x="63.1467%" y="430.50"></text></g><g><title>save_reduce (_pickle.c:4193) (1,072 samples, 1.72%)</title><rect x="62.8967%" y="436" width="1.7217%" height="15" fill="rgb(240,187,13)"/><text x="63.1467%" y="446.50"></text></g><g><title>_pickle_dumps (_pickle.c.h:619) (1,081 samples, 1.74%)</title><rect x="62.8855%" y="372" width="1.7362%" height="15" fill="rgb(223,113,26)"/><text x="63.1355%" y="382.50"></text></g><g><title>__pyx_gb_11distributed_9scheduler_9Scheduler_38generator5 (scheduler.c:51965) (1,162 samples, 1.87%)</title><rect x="62.8855%" y="356" width="1.8662%" height="15" fill="rgb(206,192,2)"/><text x="63.1355%" y="366.50">_..</text></g><g><title>transition (scheduler.c:113155) (1,224 samples, 1.97%)</title><rect x="66.2935%" y="468" width="1.9658%" height="15" fill="rgb(241,108,4)"/><text x="66.5435%" y="478.50">t..</text></g><g><title>transition (scheduler.c:112812) (2,752 samples, 4.42%)</title><rect x="65.2078%" y="420" width="4.4199%" height="15" fill="rgb(247,173,49)"/><text x="65.4578%" y="430.50">trans..</text></g><g><title>_Py_XDECREF (object.h:541) (2,752 samples, 4.42%)</title><rect x="65.2078%" y="436" width="4.4199%" height="15" fill="rgb(224,114,35)"/><text x="65.4578%" y="446.50">_Py_X..</text></g><g><title>_Py_DECREF (object.h:470) (2,752 samples, 4.42%)</title><rect x="65.2078%" y="452" width="4.4199%" height="15" fill="rgb(245,159,27)"/><text x="65.4578%" y="462.50">_Py_D..</text></g><g><title>transitions (scheduler.c:114771) (2,772 samples, 4.45%)</title><rect x="65.1853%" y="404" width="4.4520%" height="15" fill="rgb(245,172,44)"/><text x="65.4353%" y="414.50">trans..</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158473) (5,305 samples, 8.52%)</title><rect x="61.3067%" y="324" width="8.5202%" height="15" fill="rgb(236,23,11)"/><text x="61.5567%" y="334.50">__Pyx_Corout..</text></g><g><title>__Pyx_Coroutine_SendEx (scheduler.c:158384) (5,305 samples, 8.52%)</title><rect x="61.3067%" y="340" width="8.5202%" height="15" fill="rgb(205,117,38)"/><text x="61.5567%" y="350.50">__Pyx_Corout..</text></g><g><title>__pyx_gb_11distributed_9scheduler_9Scheduler_38generator5 (scheduler.c:52252) (3,007 samples, 4.83%)</title><rect x="64.9974%" y="356" width="4.8294%" height="15" fill="rgb(237,72,25)"/><text x="65.2474%" y="366.50">__pyx_..</text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (3,007 samples, 4.83%)</title><rect x="64.9974%" y="372" width="4.8294%" height="15" fill="rgb(244,70,9)"/><text x="65.2474%" y="382.50">__Pyx_..</text></g><g><title>transitions (scheduler.c:114576) (3,007 samples, 4.83%)</title><rect x="64.9974%" y="388" width="4.8294%" height="15" fill="rgb(217,125,39)"/><text x="65.2474%" y="398.50">transi..</text></g><g><title>task_step_impl (_asynciomodule.c:2644) (32,608 samples, 52.37%)</title><rect x="17.4579%" y="308" width="52.3706%" height="15" fill="rgb(235,36,10)"/><text x="17.7079%" y="318.50">task_step_impl (_asynciomodule.c:2644)</text></g><g><title>task_step (_asynciomodule.c:2934) (40,130 samples, 64.45%)</title><rect x="6.4259%" y="292" width="64.4514%" height="15" fill="rgb(251,123,47)"/><text x="6.6759%" y="302.50">task_step (_asynciomodule.c:2934)</text></g><g><title>TaskStepMethWrapper_call (_asynciomodule.c:1715) (40,225 samples, 64.60%)</title><rect x="6.3600%" y="276" width="64.6039%" height="15" fill="rgb(221,13,13)"/><text x="6.6100%" y="286.50">TaskStepMethWrapper_call (_asynciomodule.c:1715)</text></g><g><title>handle_comm (distributed/core.py:422) (757 samples, 1.22%)</title><rect x="71.0137%" y="356" width="1.2158%" height="15" fill="rgb(238,131,9)"/><text x="71.2637%" y="366.50"></text></g><g><title>_handle_stream (distributed/comm/tcp.py:476) (1,634 samples, 2.62%)</title><rect x="71.0073%" y="340" width="2.6243%" height="15" fill="rgb(211,50,8)"/><text x="71.2573%" y="350.50">_h..</text></g><g><title>task_step_impl (_asynciomodule.c:2641) (1,640 samples, 2.63%)</title><rect x="71.0009%" y="324" width="2.6339%" height="15" fill="rgb(245,182,24)"/><text x="71.2509%" y="334.50">ta..</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158463) (946 samples, 1.52%)</title><rect x="73.6638%" y="356" width="1.5193%" height="15" fill="rgb(242,14,37)"/><text x="73.9138%" y="366.50"></text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158443) (949 samples, 1.52%)</title><rect x="73.6621%" y="340" width="1.5242%" height="15" fill="rgb(246,228,12)"/><text x="73.9121%" y="350.50"></text></g><g><title>&lt;dictcomp&gt; (dask/dataframe/shuffle.py:153) (750 samples, 1.20%)</title><rect x="76.2592%" y="452" width="1.2045%" height="15" fill="rgb(213,55,15)"/><text x="76.5092%" y="462.50"></text></g><g><title>__dask_distributed_unpack__ (dask/dataframe/shuffle.py:153) (765 samples, 1.23%)</title><rect x="76.2399%" y="436" width="1.2286%" height="15" fill="rgb(209,9,3)"/><text x="76.4899%" y="446.50"></text></g><g><title>__dask_distributed_unpack__ (dask/dataframe/shuffle.py:154) (841 samples, 1.35%)</title><rect x="77.4685%" y="436" width="1.3507%" height="15" fill="rgb(230,59,30)"/><text x="77.7185%" y="446.50"></text></g><g><title>valmap (cytoolz/dicttoolz.cpython-38-x86_64-linux-gnu.so) (823 samples, 1.32%)</title><rect x="77.4974%" y="452" width="1.3218%" height="15" fill="rgb(209,121,21)"/><text x="77.7474%" y="462.50"></text></g><g><title>dicttoolz_valmap (cytoolz/dicttoolz.cpython-38-x86_64-linux-gnu.so) (823 samples, 1.32%)</title><rect x="77.4974%" y="468" width="1.3218%" height="15" fill="rgb(220,109,13)"/><text x="77.7474%" y="478.50"></text></g><g><title>__Pyx_PyFunction_FastCallDict.constprop.66 (cytoolz/dicttoolz.cpython-38-x86_64-linux-gnu.so) (797 samples, 1.28%)</title><rect x="77.5392%" y="484" width="1.2800%" height="15" fill="rgb(232,18,1)"/><text x="77.7892%" y="494.50"></text></g><g><title>__Pyx_PyFunction_FastCallNoKw (cytoolz/dicttoolz.cpython-38-x86_64-linux-gnu.so) (796 samples, 1.28%)</title><rect x="77.5408%" y="500" width="1.2784%" height="15" fill="rgb(215,41,42)"/><text x="77.7908%" y="510.50"></text></g><g><title>update_graph_hlg (scheduler.c:41343) (2,465 samples, 3.96%)</title><rect x="75.2088%" y="388" width="3.9589%" height="15" fill="rgb(224,123,36)"/><text x="75.4588%" y="398.50">upda..</text></g><g><title>__Pyx_PyFunction_FastCallNoKw (scheduler.c:155849) (2,465 samples, 3.96%)</title><rect x="75.2088%" y="404" width="3.9589%" height="15" fill="rgb(240,125,3)"/><text x="75.4588%" y="414.50">__Py..</text></g><g><title>highlevelgraph_unpack (distributed/protocol/highlevelgraph.py:172) (2,286 samples, 3.67%)</title><rect x="75.4963%" y="420" width="3.6715%" height="15" fill="rgb(205,98,50)"/><text x="75.7463%" y="430.50">high..</text></g><g><title>update_graph_hlg (scheduler.c:41633) (2,123 samples, 3.41%)</title><rect x="79.6913%" y="388" width="3.4097%" height="15" fill="rgb(205,185,37)"/><text x="79.9413%" y="398.50">upd..</text></g><g><title>TaskState___init__ (scheduler.c:17916) (911 samples, 1.46%)</title><rect x="84.0694%" y="484" width="1.4631%" height="15" fill="rgb(238,207,15)"/><text x="84.3194%" y="494.50"></text></g><g><title>__init__ (scheduler.c:17735) (1,277 samples, 2.05%)</title><rect x="83.7996%" y="468" width="2.0509%" height="15" fill="rgb(213,199,42)"/><text x="84.0496%" y="478.50">_..</text></g><g><title>new_task (scheduler.c:47570) (1,336 samples, 2.15%)</title><rect x="83.7916%" y="452" width="2.1457%" height="15" fill="rgb(235,201,11)"/><text x="84.0416%" y="462.50">n..</text></g><g><title>new_task (scheduler.c:47522) (1,966 samples, 3.16%)</title><rect x="83.7836%" y="436" width="3.1575%" height="15" fill="rgb(207,46,11)"/><text x="84.0336%" y="446.50">new..</text></g><g><title>update_graph (scheduler.c:44245) (1,971 samples, 3.17%)</title><rect x="83.7771%" y="420" width="3.1656%" height="15" fill="rgb(241,35,35)"/><text x="84.0271%" y="430.50">upd..</text></g><g><title>transition (scheduler.c:112812) (991 samples, 1.59%)</title><rect x="88.4845%" y="484" width="1.5916%" height="15" fill="rgb(243,32,47)"/><text x="88.7345%" y="494.50"></text></g><g><title>_Py_XDECREF (object.h:541) (991 samples, 1.59%)</title><rect x="88.4845%" y="500" width="1.5916%" height="15" fill="rgb(247,202,23)"/><text x="88.7345%" y="510.50"></text></g><g><title>_Py_DECREF (object.h:470) (991 samples, 1.59%)</title><rect x="88.4845%" y="516" width="1.5916%" height="15" fill="rgb(219,102,11)"/><text x="88.7345%" y="526.50"></text></g><g><title>transitions (scheduler.c:114771) (1,003 samples, 1.61%)</title><rect x="88.4733%" y="468" width="1.6109%" height="15" fill="rgb(243,110,44)"/><text x="88.7233%" y="478.50"></text></g><g><title>update_graph (scheduler.c:47195) (1,153 samples, 1.85%)</title><rect x="88.2886%" y="420" width="1.8518%" height="15" fill="rgb(222,74,54)"/><text x="88.5386%" y="430.50">u..</text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (1,153 samples, 1.85%)</title><rect x="88.2886%" y="436" width="1.8518%" height="15" fill="rgb(216,99,12)"/><text x="88.5386%" y="446.50">_..</text></g><g><title>transitions (scheduler.c:114576) (1,153 samples, 1.85%)</title><rect x="88.2886%" y="452" width="1.8518%" height="15" fill="rgb(226,22,26)"/><text x="88.5386%" y="462.50">t..</text></g><g><title>update_graph_hlg (scheduler.c:41744) (4,460 samples, 7.16%)</title><rect x="83.1010%" y="388" width="7.1630%" height="15" fill="rgb(217,163,10)"/><text x="83.3510%" y="398.50">update_gra..</text></g><g><title>update_graph (scheduler.c:42124) (4,460 samples, 7.16%)</title><rect x="83.1010%" y="404" width="7.1630%" height="15" fill="rgb(213,25,53)"/><text x="83.3510%" y="414.50">update_gra..</text></g><g><title>handle_stream (distributed/core.py:563) (9,414 samples, 15.12%)</title><rect x="75.2056%" y="356" width="15.1195%" height="15" fill="rgb(252,105,26)"/><text x="75.4556%" y="366.50">handle_stream (distribu..</text></g><g><title>update_graph_hlg (scheduler.c:41274) (9,412 samples, 15.12%)</title><rect x="75.2088%" y="372" width="15.1163%" height="15" fill="rgb(220,39,43)"/><text x="75.4588%" y="382.50">update_graph_hlg (sched..</text></g><g><title>__Pyx_Coroutine_Send (scheduler.c:158463) (9,428 samples, 15.14%)</title><rect x="75.1863%" y="340" width="15.1420%" height="15" fill="rgb(229,68,48)"/><text x="75.4363%" y="350.50">__Pyx_Coroutine_Send (s..</text></g><g><title>task_step_impl (_asynciomodule.c:2644) (10,398 samples, 16.70%)</title><rect x="73.6348%" y="324" width="16.6999%" height="15" fill="rgb(252,8,32)"/><text x="73.8848%" y="334.50">task_step_impl (_asynciomo..</text></g><g><title>task_step (_asynciomodule.c:2934) (12,058 samples, 19.37%)</title><rect x="70.9961%" y="308" width="19.3659%" height="15" fill="rgb(223,20,43)"/><text x="71.2461%" y="318.50">task_step (_asynciomodule.c:29..</text></g><g><title>task_wakeup (_asynciomodule.c:2971) (12,072 samples, 19.39%)</title><rect x="70.9784%" y="292" width="19.3884%" height="15" fill="rgb(229,81,49)"/><text x="71.2284%" y="302.50">task_wakeup (_asynciomodule.c:..</text></g><g><title>TaskWakeupMethWrapper_call (_asynciomodule.c:1791) (12,074 samples, 19.39%)</title><rect x="70.9768%" y="276" width="19.3916%" height="15" fill="rgb(236,28,36)"/><text x="71.2268%" y="286.50">TaskWakeupMethWrapper_call (_a..</text></g><g><title>balance (distributed/stealing.py:362) (1,716 samples, 2.76%)</title><rect x="92.0612%" y="308" width="2.7560%" height="15" fill="rgb(249,185,26)"/><text x="92.3112%" y="318.50">ba..</text></g><g><title>_run (tornado/ioloop.py:905) (3,650 samples, 5.86%)</title><rect x="91.2887%" y="292" width="5.8621%" height="15" fill="rgb(249,174,33)"/><text x="91.5387%" y="302.50">_run (t..</text></g><g><title>reevaluate_occupancy (scheduler.c:125856) (845 samples, 1.36%)</title><rect x="97.4528%" y="308" width="1.3571%" height="15" fill="rgb(233,201,37)"/><text x="97.7028%" y="318.50"></text></g><g><title>__Pyx_PyObject_Call2Args (scheduler.c:156346) (845 samples, 1.36%)</title><rect x="97.4528%" y="324" width="1.3571%" height="15" fill="rgb(221,78,26)"/><text x="97.7028%" y="334.50"></text></g><g><title>_reevaluate_occupancy_worker (scheduler.c:126271) (845 samples, 1.36%)</title><rect x="97.4528%" y="340" width="1.3571%" height="15" fill="rgb(250,127,30)"/><text x="97.7028%" y="350.50"></text></g><g><title>reevaluate_occupancy (scheduler.c:125514) (970 samples, 1.56%)</title><rect x="97.2858%" y="292" width="1.5579%" height="15" fill="rgb(230,49,44)"/><text x="97.5358%" y="302.50"></text></g><g><title>_run_callback (tornado/ioloop.py:741) (4,964 samples, 7.97%)</title><rect x="91.0847%" y="276" width="7.9725%" height="15" fill="rgb(229,67,23)"/><text x="91.3347%" y="286.50">_run_callba..</text></g><g><title>_run (asyncio/events.py:81) (61,224 samples, 98.33%)</title><rect x="1.6237%" y="260" width="98.3297%" height="15" fill="rgb(249,83,47)"/><text x="1.8737%" y="270.50">_run (asyncio/events.py:81)</text></g><g><title>_run_once (asyncio/base_events.py:1859) (61,543 samples, 98.84%)</title><rect x="1.1548%" y="244" width="98.8420%" height="15" fill="rgb(215,43,3)"/><text x="1.4048%" y="254.50">_run_once (asyncio/base_events.py:1859)</text></g><g><title>all (62,264 samples, 100%)</title><rect x="0.0000%" y="36" width="100.0000%" height="15" fill="rgb(238,154,13)"/><text x="0.2500%" y="46.50"></text></g><g><title>_run_module_as_main (runpy.py:194) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="52" width="99.8426%" height="15" fill="rgb(219,56,2)"/><text x="0.4074%" y="62.50">_run_module_as_main (runpy.py:194)</text></g><g><title>_run_code (runpy.py:87) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="68" width="99.8426%" height="15" fill="rgb(233,0,4)"/><text x="0.4074%" y="78.50">_run_code (runpy.py:87)</text></g><g><title>&lt;module&gt; (distributed/cli/dask_scheduler.py:229) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="84" width="99.8426%" height="15" fill="rgb(235,30,7)"/><text x="0.4074%" y="94.50">&lt;module&gt; (distributed/cli/dask_scheduler.py:229)</text></g><g><title>go (distributed/cli/dask_scheduler.py:225) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="100" width="99.8426%" height="15" fill="rgb(250,79,13)"/><text x="0.4074%" y="110.50">go (distributed/cli/dask_scheduler.py:225)</text></g><g><title>__call__ (click/core.py:829) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="116" width="99.8426%" height="15" fill="rgb(211,146,34)"/><text x="0.4074%" y="126.50">__call__ (click/core.py:829)</text></g><g><title>main (click/core.py:782) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="132" width="99.8426%" height="15" fill="rgb(228,22,38)"/><text x="0.4074%" y="142.50">main (click/core.py:782)</text></g><g><title>invoke (click/core.py:1066) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="148" width="99.8426%" height="15" fill="rgb(235,168,5)"/><text x="0.4074%" y="158.50">invoke (click/core.py:1066)</text></g><g><title>invoke (click/core.py:610) (62,166 samples, 99.84%)</title><rect x="0.1574%" y="164" width="99.8426%" height="15" fill="rgb(221,155,16)"/><text x="0.4074%" y="174.50">invoke (click/core.py:610)</text></g><g><title>main (distributed/cli/dask_scheduler.py:216) (62,165 samples, 99.84%)</title><rect x="0.1590%" y="180" width="99.8410%" height="15" fill="rgb(215,215,53)"/><text x="0.4090%" y="190.50">main (distributed/cli/dask_scheduler.py:216)</text></g><g><title>run_sync (tornado/ioloop.py:524) (62,165 samples, 99.84%)</title><rect x="0.1590%" y="196" width="99.8410%" height="15" fill="rgb(223,4,10)"/><text x="0.4090%" y="206.50">run_sync (tornado/ioloop.py:524)</text></g><g><title>start (tornado/platform/asyncio.py:199) (62,165 samples, 99.84%)</title><rect x="0.1590%" y="212" width="99.8410%" height="15" fill="rgb(234,103,6)"/><text x="0.4090%" y="222.50">start (tornado/platform/asyncio.py:199)</text></g><g><title>run_forever (asyncio/base_events.py:570) (62,165 samples, 99.84%)</title><rect x="0.1590%" y="228" width="99.8410%" height="15" fill="rgb(227,97,0)"/><text x="0.4090%" y="238.50">run_forever (asyncio/base_events.py:570)</text></g></svg></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment