-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgndn.html
22 lines (19 loc) · 57.3 KB
/
gndn.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
</head>
<body>
<div id="app"></div>
<script>var pyinstrumentHTMLRenderer=function(){"use strict";var ct=Object.defineProperty;var dt=(R,y,B)=>y in R?ct(R,y,{enumerable:!0,configurable:!0,writable:!0,value:B}):R[y]=B;var w=(R,y,B)=>(dt(R,typeof y!="symbol"?y+"":y,B),B);const R="";function y(){}function B(t){return t()}function we(){return Object.create(null)}function O(t){t.forEach(B)}function be(t){return typeof t=="function"}function K(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function Ie(t){return Object.keys(t).length===0}function Re(t,...e){if(t==null)return y;const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function se(t,e,i){t.$$.on_destroy.push(Re(e,i))}function f(t,e){t.appendChild(e)}function H(t,e,i){t.insertBefore(e,i||null)}function P(t){t.parentNode&&t.parentNode.removeChild(t)}function _(t){return document.createElement(t)}function ke(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function L(t){return document.createTextNode(t)}function b(){return L(" ")}function ye(){return L("")}function W(t,e,i,n){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i,n)}function Ce(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ee(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function d(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function Oe(t){return Array.from(t.childNodes)}function U(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function T(t,e,i,n){i===null?t.style.removeProperty(e):t.style.setProperty(e,i,n?"important":"")}function X(t,e,i){t.classList[i?"add":"remove"](e)}let V;function Z(t){V=t}function Te(){if(!V)throw new Error("Function called outside component initialization");return V}function qe(t){Te().$$.on_mount.push(t)}function Ue(t){Te().$$.on_destroy.push(t)}const Y=[],Fe=[],j=[],Se=[],Ve=Promise.resolve();let ue=!1;function Ze(){ue||(ue=!0,Ve.then($e))}function ae(t){j.push(t)}const fe=new Set;let x=0;function $e(){const t=V;do{for(;x<Y.length;){const e=Y[x];x++,Z(e),Ye(e.$$)}for(Z(null),Y.length=0,x=0;Fe.length;)Fe.pop()();for(let e=0;e<j.length;e+=1){const i=j[e];fe.has(i)||(fe.add(i),i())}j.length=0}while(Y.length);for(;Se.length;)Se.pop()();ue=!1,fe.clear(),Z(t)}function Ye(t){if(t.fragment!==null){t.update(),O(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ae)}}const ee=new Set;let Q;function ce(){Q={r:0,c:[],p:Q}}function de(){Q.r||O(Q.c),Q=Q.p}function D(t,e){t&&t.i&&(ee.delete(t),t.i(e))}function N(t,e,i,n){if(t&&t.o){if(ee.has(t))return;ee.add(t),Q.c.push(()=>{ee.delete(t),n&&(i&&t.d(1),n())}),t.o(e)}else n&&n()}function Je(t,e){N(t,1,1,()=>{e.delete(t.key)})}function Ke(t,e,i,n,u,a,r,l,s,o,c,m){let g=t.length,p=a.length,v=g;const E={};for(;v--;)E[t[v].key]=v;const F=[],h=new Map,A=new Map;for(v=p;v--;){const k=m(u,a,v),S=i(k);let $=r.get(S);$?n&&$.p(k,e):($=o(S,k),$.c()),h.set(S,F[v]=$),S in E&&A.set(S,Math.abs(v-E[S]))}const M=new Set,G=new Set;function C(k){D(k,1),k.m(l,c),r.set(k.key,k),c=k.first,p--}for(;g&&p;){const k=F[p-1],S=t[g-1],$=k.key,z=S.key;k===S?(c=k.first,g--,p--):h.has(z)?!r.has($)||M.has($)?C(k):G.has(z)?g--:A.get($)>A.get(z)?(G.add($),C(k)):(M.add(z),g--):(s(S,r),g--)}for(;g--;){const k=t[g];h.has(k.key)||s(k,r)}for(;p;)C(F[p-1]);return F}function pe(t){t&&t.c()}function te(t,e,i,n){const{fragment:u,after_update:a}=t.$$;u&&u.m(e,i),n||ae(()=>{const r=t.$$.on_mount.map(B).filter(be);t.$$.on_destroy?t.$$.on_destroy.push(...r):O(r),t.$$.on_mount=[]}),a.forEach(ae)}function ie(t,e){const i=t.$$;i.fragment!==null&&(O(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function We(t,e){t.$$.dirty[0]===-1&&(Y.push(t),Ze(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function me(t,e,i,n,u,a,r,l=[-1]){const s=V;Z(t);const o=t.$$={fragment:null,ctx:[],props:a,update:y,not_equal:u,bound:we(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:we(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};r&&r(o.root);let c=!1;if(o.ctx=i?i(t,e.props||{},(m,g,...p)=>{const v=p.length?p[0]:g;return o.ctx&&u(o.ctx[m],o.ctx[m]=v)&&(!o.skip_bound&&o.bound[m]&&o.bound[m](v),c&&We(t,m)),g}):[],o.update(),c=!0,O(o.before_update),o.fragment=n?n(o.ctx):!1,e.target){if(e.hydrate){const m=Oe(e.target);o.fragment&&o.fragment.l(m),m.forEach(P)}else o.fragment&&o.fragment.c();e.intro&&D(t.$$.fragment),te(t,e.target,e.anchor,e.customElement),$e()}Z(s)}class he{$destroy(){ie(this,1),this.$destroy=y}$on(e,i){if(!be(i))return y;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(i),()=>{const u=n.indexOf(i);u!==-1&&n.splice(u,1)}}$set(e){this.$$set&&!Ie(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const q=[];function De(t,e=y){let i;const n=new Set;function u(l){if(K(t,l)&&(t=l,i)){const s=!q.length;for(const o of n)o[1](),q.push(o,t);if(s){for(let o=0;o<q.length;o+=2)q[o][0](q[o+1]);q.length=0}}}function a(l){u(l(t))}function r(l,s=y){const o=[l,s];return n.add(o),n.size===1&&(i=e(u)||y),l(t),()=>{n.delete(o),n.size===0&&(i(),i=null)}}return{set:u,update:a,subscribe:r}}const Me=De({}),ne=De("absolute"),pt="";function je(t){let e,i,n,u,a,r,l,s,o,c,m,g,p,v,E,F,h,A,M,G,C,k,S,$,z,re=t[0].sampleCount+"",ve,Xe,oe,Qe,le,Ae,Ge;return{c(){e=_("div"),i=_("div"),n=_("div"),u=_("div"),u.textContent="pyinstrument",a=b(),r=_("div"),l=_("label"),l.textContent="Absolute time",s=b(),o=_("input"),c=b(),m=_("div"),m.textContent="Recorded:",g=b(),p=_("div"),p.textContent=`${t[2]}`,v=b(),E=_("div"),E.textContent="Duration:",F=b(),h=_("div"),h.textContent=`${t[4]} seconds`,A=b(),M=_("label"),M.textContent="Proportional time",G=b(),C=_("input"),k=b(),S=_("div"),S.textContent="Samples:",$=b(),z=_("div"),ve=L(re),Xe=b(),oe=_("div"),oe.textContent="CPU time:",Qe=b(),le=_("div"),le.textContent=`${t[3]} seconds`,d(u,"class","title svelte-tewt95"),d(l,"class","metric-label svelte-tewt95"),d(l,"for","absolute"),d(o,"type","radio"),o.__value="absolute",o.value=o.__value,d(o,"id","absolute"),d(o,"name","time-format"),o.checked=!0,t[6][0].push(o),d(m,"class","metric-label svelte-tewt95"),d(p,"class","metric-value svelte-tewt95"),d(E,"class","metric-label svelte-tewt95"),d(h,"class","metric-value svelte-tewt95"),d(M,"class","metric-label svelte-tewt95"),d(M,"for","proportion"),d(C,"type","radio"),C.__value="proportion",C.value=C.__value,d(C,"id","proportion"),d(C,"name","time-format"),t[6][0].push(C),d(S,"class","metric-label svelte-tewt95"),d(z,"class","metric-value svelte-tewt95"),d(oe,"class","metric-label svelte-tewt95"),d(le,"class","metric-value svelte-tewt95"),d(r,"class","metrics svelte-tewt95"),d(n,"class","row svelte-tewt95"),d(i,"class","margins"),d(e,"class","header svelte-tewt95")},m(I,J){H(I,e,J),f(e,i),f(i,n),f(n,u),f(n,a),f(n,r),f(r,l),f(r,s),f(r,o),o.checked=o.__value===t[1],f(r,c),f(r,m),f(r,g),f(r,p),f(r,v),f(r,E),f(r,F),f(r,h),f(r,A),f(r,M),f(r,G),f(r,C),C.checked=C.__value===t[1],f(r,k),f(r,S),f(r,$),f(r,z),f(z,ve),f(r,Xe),f(r,oe),f(r,Qe),f(r,le),Ae||(Ge=[W(o,"change",t[5]),W(C,"change",t[7])],Ae=!0)},p(I,[J]){J&2&&(o.checked=o.__value===I[1]),J&2&&(C.checked=C.__value===I[1]),J&1&&re!==(re=I[0].sampleCount+"")&&U(ve,re)},i:y,o:y,d(I){I&&P(e),t[6][0].splice(t[6][0].indexOf(o),1),t[6][0].splice(t[6][0].indexOf(C),1),Ae=!1,O(Ge)}}}function xe(t,e,i){var m;let n;se(t,ne,g=>i(1,n=g));let{session:u}=e;const a=new Date(u.startTime*1e3).toLocaleString(),r=(m=u.cpuTime)==null?void 0:m.toLocaleString(void 0,{maximumSignificantDigits:3}),l=u.duration.toLocaleString(void 0,{maximumSignificantDigits:3}),s=[[]];function o(){n=this.__value,ne.set(n)}function c(){n=this.__value,ne.set(n)}return t.$$set=g=>{"session"in g&&i(0,u=g.session)},[u,n,a,r,l,o,s,c]}class et extends he{constructor(e){super(),me(this,e,xe,je,K,{session:0})}}const mt="";function Pe(t,e,i){const n=t.slice();return n[14]=e[i],n}function Le(t){let e,i,n,u,a,r,l,s,o,c,m,g,p,v,E,F;return{c(){e=_("div"),i=_("div"),n=ke("svg"),u=ke("path"),a=b(),r=_("div"),l=L(t[5]),s=b(),o=_("div"),c=L(t[4]),m=b(),g=_("div"),p=b(),v=_("div"),v.textContent=`${t[9]}`,d(u,"d","M.937-.016L5.793 4.84.937 9.696z"),d(u,"fill",t[7]),d(u,"fill-rule","evenodd"),d(u,"fill-opacity",".582"),d(n,"width","6"),d(n,"height","10"),d(i,"class","frame-triangle svelte-1aphj50"),X(i,"rotate",t[2]),T(i,"visibility",t[0].children.length>0?"visible":"hidden"),d(r,"class","time svelte-1aphj50"),T(r,"color",t[7]),T(r,"font-weight",t[0].proportionOfTotal<.2?500:600),d(o,"class","name svelte-1aphj50"),d(g,"class","spacer"),T(g,"flex","1"),d(v,"class","code-position svelte-1aphj50"),d(e,"class","frame-description svelte-1aphj50"),X(e,"application-code",t[0].isApplicationCode),X(e,"children-visible",t[2]),T(e,"padding-left",`${t[1]*35}px`)},m(h,A){H(h,e,A),f(e,i),f(i,n),f(n,u),f(e,a),f(e,r),f(r,l),f(e,s),f(e,o),f(o,c),f(e,m),f(e,g),f(e,p),f(e,v),E||(F=W(e,"click",Ee(Ce(t[10]))),E=!0)},p(h,A){A&128&&d(u,"fill",h[7]),A&4&&X(i,"rotate",h[2]),A&1&&T(i,"visibility",h[0].children.length>0?"visible":"hidden"),A&32&&U(l,h[5]),A&128&&T(r,"color",h[7]),A&1&&T(r,"font-weight",h[0].proportionOfTotal<.2?500:600),A&16&&U(c,h[4]),A&1&&X(e,"application-code",h[0].isApplicationCode),A&4&&X(e,"children-visible",h[2]),A&2&&T(e,"padding-left",`${h[1]*35}px`)},d(h){h&&P(e),E=!1,F()}}}function Ne(t){let e,i,n,u,a=t[0].group.frames.length+"",r,l,s,o,c,m;return{c(){e=_("div"),i=_("div"),n=_("div"),n.innerHTML='<svg width="6" height="10"><path d="M.937-.016L5.793 4.84.937 9.696z" fill="#FFF" fill-rule="evenodd" fill-opacity=".582"></path></svg>',u=b(),r=L(a),l=L(` frames hidden
(`),s=L(t[6]),o=L(")"),d(n,"class","group-triangle svelte-1aphj50"),X(n,"rotate",t[8]),d(i,"class","group-header-button svelte-1aphj50"),d(e,"class","group-header svelte-1aphj50"),T(e,"padding-left",`${t[1]*35}px`)},m(g,p){H(g,e,p),f(e,i),f(i,n),f(i,u),f(i,r),f(i,l),f(i,s),f(i,o),c||(m=W(e,"click",Ee(Ce(t[11]))),c=!0)},p(g,p){p&256&&X(n,"rotate",g[8]),p&1&&a!==(a=g[0].group.frames.length+"")&&U(r,a),p&64&&U(s,g[6]),p&2&&T(e,"padding-left",`${g[1]*35}px`)},d(g){g&&P(e),c=!1,m()}}}function ze(t){let e=[],i=new Map,n,u,a=t[0].children;const r=l=>l[14].identifier;for(let l=0;l<a.length;l+=1){let s=Pe(t,a,l),o=r(s);i.set(o,e[l]=Be(o,s))}return{c(){for(let l=0;l<e.length;l+=1)e[l].c();n=ye()},m(l,s){for(let o=0;o<e.length;o+=1)e[o].m(l,s);H(l,n,s),u=!0},p(l,s){s&11&&(a=l[0].children,ce(),e=Ke(e,s,r,1,l,a,i,n.parentNode,Je,Be,n,Pe),de())},i(l){if(!u){for(let s=0;s<a.length;s+=1)D(e[s]);u=!0}},o(l){for(let s=0;s<e.length;s+=1)N(e[s]);u=!1},d(l){for(let s=0;s<e.length;s+=1)e[s].d(l);l&&P(n)}}}function Be(t,e){let i,n,u;return n=new He({props:{frame:e[14],indent:e[1]+(e[3]?1:0)}}),{key:t,first:null,c(){i=ye(),pe(n.$$.fragment),this.first=i},m(a,r){H(a,i,r),te(n,a,r),u=!0},p(a,r){e=a;const l={};r&1&&(l.frame=e[14]),r&10&&(l.indent=e[1]+(e[3]?1:0)),n.$set(l)},i(a){u||(D(n.$$.fragment,a),u=!0)},o(a){N(n.$$.fragment,a),u=!1},d(a){a&&P(i),ie(n,a)}}}function tt(t){let e,i,n,u,a,r,l=t[3]&&Le(t),s=t[0].group&&t[0].group.rootFrame==t[0]&&t[2]&&Ne(t),o=t[2]&&ze(t);return{c(){e=_("div"),l&&l.c(),i=b(),s&&s.c(),n=b(),o&&o.c(),u=b(),a=_("div"),d(a,"class","visual-guide"),T(a,"left",`${t[1]*35+21}px`),T(a,"backgroundColor",t[7]),d(e,"class","frame svelte-1aphj50")},m(c,m){H(c,e,m),l&&l.m(e,null),f(e,i),s&&s.m(e,null),f(e,n),o&&o.m(e,null),f(e,u),f(e,a),r=!0},p(c,[m]){c[3]?l?l.p(c,m):(l=Le(c),l.c(),l.m(e,i)):l&&(l.d(1),l=null),c[0].group&&c[0].group.rootFrame==c[0]&&c[2]?s?s.p(c,m):(s=Ne(c),s.c(),s.m(e,n)):s&&(s.d(1),s=null),c[2]?o?(o.p(c,m),m&4&&D(o,1)):(o=ze(c),o.c(),D(o,1),o.m(e,u)):o&&(ce(),N(o,1,1,()=>{o=null}),de()),m&2&&T(a,"left",`${c[1]*35+21}px`),m&128&&T(a,"backgroundColor",c[7])},i(c){r||(D(o),r=!0)},o(c){N(o),r=!1},d(c){c&&P(e),l&&l.d(),s&&s.d(),o&&o.d()}}}function it(t,e,i){let n,u,a;se(t,Me,h=>i(12,u=h)),se(t,ne,h=>i(13,a=h));let{frame:r}=e,{indent:l=0}=e,s=!0,o,c;r.className?c=`${r.className}.${r.function}`:c=r.function;const m=`${r.filePathShort}:${r.lineNo.toString().padEnd(4,"\xA0")}`;let g,p=null;if(r.group){const h=r.group.libraries;h.length<4?p=h.join(", "):p=`${h[0]}, ${h[1]}, ${h[2]}...`}let v;r.proportionOfTotal>.6?v="#FF4159":r.proportionOfTotal>.3?v="#F5A623":r.proportionOfTotal>.2?v="#D8CB2A":v="#7ED321";function E(){i(2,s=!s)}function F(){Me.update(h=>{var A;return{...h,[(A=r.groupId)!=null?A:""]:!n}})}return t.$$set=h=>{"frame"in h&&i(0,r=h.frame),"indent"in h&&i(1,l=h.indent)},t.$$.update=()=>{var h,A,M;if(t.$$.dirty&4097&&(r.group?u[(h=r.groupId)!=null?h:""]||((A=r.group)==null?void 0:A.rootFrame)===r||r.children.filter(G=>!G.group).length>1?i(3,o=!0):i(3,o=!1):i(3,o=!0)),t.$$.dirty&8193)if(a==="absolute")i(5,g=r.time.toLocaleString(void 0,{minimumFractionDigits:3,maximumFractionDigits:3}));else if(a==="proportion")i(5,g=`${(r.proportionOfTotal*100).toLocaleString(void 0,{minimumFractionDigits:1,maximumFractionDigits:1})}%`);else throw new Error("unknown timeFormat");t.$$.dirty&4097&&i(8,n=u[(M=r.groupId)!=null?M:""]===!0)},[r,l,s,o,c,g,p,v,n,m,E,F,u,a]}class He extends he{constructor(e){super(),me(this,e,it,tt,K,{frame:0,indent:1})}}const nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAFPklEQVRYCdWXu4skVRSHb3VXP2bcXUVMBkRMTVww2XQDExEEH4iKiUYGhuJEPgJhUSMzQQSDRVzETNDMTTfUwL/ARUwM1t3pV1WX33eqbnfP9MxOu5kHTt9T93F+v3vOubeqi7QhT1+58vhiVn1G19WiaQ6KIqVQOmyT+h9kuUxp2bAAtQkpij9pbw5G5fu/3br1x8ql4NW0+rVJzaN29nop9VUeCtoerXpMTj53g+AGcINR1YB3RIJMN6dIxd/luLxcZoftzltwAct+SiNGh2jJ84BnSQWJTeBNW2C0ZrvufrZA5y2JmuemWkfCjYq5IsC6q2iE2V0LuDdMaYxKZDxo+yS3JZkEY+5SsAU7P5q1qZNEAxnXGo0NubomQM4dWPnCMAU/fUCnoA7kFjPEPohuqfO6uc++0xKSVHUcHDbNwZpAeFyHyMcg408G16mSnwW3b5OEz3rtCAyJnHUQUSEFmMdki0CMmsNOX/gkpf1RSpf223Q43jC2MMw4tFWsjwHzBngsIOT6CaEf7wGKrTo/agFbH8oWAQdkWTF5htGntSDn2h2YBTal/9603Z2++swZ0+5BZIjdQwfUz5DcGwHVotSfdpYtAg7oUKzaycyo6PjmkA4cRmgBuf5zSj/80kbAuToaYHz9afdgCiCxJF3gpudfZampOyGnEwAwIkEbuROBXEauXZGdYzrEtFTTpx3zHGeewGoFcFxk2Cdlxempy8/oZyXm1KO3R14fIraPXEzpAnXgyVBmRMdjNgdVsqZgxLw9cl4C7m7N+d17pOqIuaj2LKetQzs1Ai3E+reRJip4CSnz2wPYHC9wFL66MYko9k8pwgmAU4hqbxZhO6tNXba321V8Uvruc4ZzGgQxErnFNszqItqC0DdpTtzfeqWJ21DwpRp5WkOdHwFJqM4UMLcdeB2AADPUkigSm00VOZixsOL8WfUB3oWd4ZWcT8CpgLz2XkoPX+IgEIU+q6K6QZqzqxoAr15vupqC8Air0wm7JwUL2AWJByIAuDXQEGZ1aegRASY4Ppq0AOZZIoZYsLh4zDsa4PSfeA+En/tGQMI5ZTe+xClhN+Q5z4b67TfZJeATiAQw4J4KwTzCOfT2nSb3JRALAJTEfKPQcrGBG5GwwCLMRCRAXcgiQY1IYD8ogbzuDd5qF7gL+p4ESM05Z//coWXH1oEE5oQkQPOi3EroDDk/Ai40Cp3SRE2AG+8MWyOk5h1j7ixnEogPD0dVcv/FVwXXLceKs20K5rCaFk06fKmOD424akkTXUFkVwanEtBZfH7hMK5eCEwBl0DNYHvJ0Idd4MHXr7djkGDtWQV3GqlTCRhybzqv1R4zbA/fXabRfhFAHkvflJO77XivuyElbRHG+h3yL6EtAu4iPkoF5q4veRn1ecEUAwYg0pSyQwAoRk3qz4p4DS+wawpxSVHoY9cobBHQtxBBBMBrN/rkvOEC6lF0hF/nKvaS31yE155btLVAFKIidbSDbBMI9HaluzjC4ZKQWHieBIcVPqvbyg/b503Dh91kTcB/LH4Z6wmNI8X2PnyxTkPSUI7JP7MjvE5hTrwDuO+rLvT2uXxnAXNNgL9LLHxdB16jOi24XgOEK68EyMKMb/uYRERol1w+FmRN67XrWonsKDdzRNPmXzPjbEXHxwWttsCcwpXki8cte91afP7zkdQuYch/zSizVv66ffvOwZNPfLus/YNSPMYuLkZIda66yw3NzwHMeCOBXcBNdVH8OBiXLx/7c5qJrFrK/GOYfETH97Sr/jOM38FnvodDGv8f+Rcj1XBLIcDKAQAAAABJRU5ErkJggg==",ht="";function rt(t){let e;return{c(){e=_("div"),e.textContent="No samples recorded.",d(e,"class","error")},m(i,n){H(i,e,n)},p:y,i:y,o:y,d(i){i&&P(e)}}}function ot(t){let e,i;return e=new He({props:{frame:t[0].rootFrame}}),{c(){pe(e.$$.fragment)},m(n,u){te(e,n,u),i=!0},p(n,u){const a={};u&1&&(a.frame=n[0].rootFrame),e.$set(a)},i(n){i||(D(e.$$.fragment,n),i=!0)},o(n){N(e.$$.fragment,n),i=!1},d(n){ie(e,n)}}}function lt(t){let e,i,n,u,a,r,l,s,o;i=new et({props:{session:t[0]}});const c=[ot,rt],m=[];function g(p,v){return p[0].rootFrame?0:1}return l=g(t),s=m[l]=c[l](t),{c(){e=_("div"),pe(i.$$.fragment),n=b(),u=_("div"),a=b(),r=_("div"),s.c(),d(u,"class","spacer"),T(u,"height","20px"),d(r,"class","margins"),d(e,"class","app svelte-rmu4zi")},m(p,v){H(p,e,v),te(i,e,null),f(e,n),f(e,u),f(e,a),f(e,r),m[l].m(r,null),o=!0},p(p,[v]){const E={};v&1&&(E.session=p[0]),i.$set(E);let F=l;l=g(p),l===F?m[l].p(p,v):(ce(),N(m[F],1,1,()=>{m[F]=null}),de(),s=m[l],s?s.p(p,v):(s=m[l]=c[l](p),s.c()),D(s,1),s.m(r,null))},i(p){o||(D(i.$$.fragment,p),D(s),o=!0)},o(p){N(i.$$.fragment,p),N(s),o=!1},d(p){p&&P(e),ie(i),m[l].d()}}}function ge(){document.body.style.minHeight=`${window.scrollY+window.innerHeight}px`}function st(t,e,i){let{session:n}=e;const u=document.createElement("link");u.rel="shortut icon",u.href=nt,document.head.appendChild(u),qe(()=>{window.addEventListener("scroll",ge),ge()}),Ue(()=>{window.removeEventListener("scroll",ge)});const a=n.rootFrame,r=a==null?void 0:a.time.toLocaleString(void 0,{maximumSignificantDigits:3});let l=a==null?void 0:a.function;return l=="<module>"&&(l=n.program),document.title=`${r}s - ${l} - pyinstrument`,t.$$set=s=>{"session"in s&&i(0,n=s.session)},[n]}class ut extends he{constructor(e){super(),me(this,e,st,lt,K,{session:0})}}class at{constructor(e,i){w(this,"id");w(this,"rootFrame");w(this,"frames",[]);this.id=e,this.rootFrame=i}addFrame(e){this.frames.push(e)}get exitFrames(){const e=[];for(const i of this.frames){let n=!1;for(const u of i.children)if(u.group!=this){n=!0;break}n&&e.push(i)}return e}get libraries(){const e=[];for(const i of this.frames){const n=/^[^\\/.]*/.exec(i.filePathShort)[0];e.includes(n)||e.push(n)}return e}}class _e{constructor(e,i=null,n={groups:{}}){w(this,"function");w(this,"filePath");w(this,"filePathShort");w(this,"lineNo");w(this,"time");w(this,"totalTime");w(this,"awaitTime");w(this,"isApplicationCode");w(this,"groupId");w(this,"className");w(this,"parent");w(this,"children");w(this,"group");var u,a;if(this.parent=i,this.function=e.function,this.filePath=e.file_path,this.filePathShort=e.file_path_short,this.lineNo=e.line_no,this.time=e.time,this.totalTime=this.parent?this.parent.totalTime:this.time,this.awaitTime=e.await_time,this.isApplicationCode=e.is_application_code,this.groupId=(u=e.group_id)!=null?u:null,this.className=(a=e.class_name)!=null?a:null,e.group_id){const r=e.group_id;let l=n.groups[r];l||(l=n.groups[r]=new at(r,this)),l.addFrame(this),this.group=n.groups[r]}else this.group=null;this.children=e.children.map(r=>new _e(r,this,n))}get identifier(){return`${this.function}:${this.filePath}:${this.lineNo}`}get proportionOfTotal(){return this.time/this.totalTime}}class ft{constructor(e){w(this,"startTime");w(this,"duration");w(this,"sampleCount");w(this,"program");w(this,"cpuTime");w(this,"rootFrame");this.startTime=e.start_time,this.duration=e.duration,this.sampleCount=e.sample_count,this.program=e.program,this.cpuTime=e.cpu_time,this.rootFrame=e.root_frame?new _e(e.root_frame):null}}return{render(t,e){const i=new ft(e);return new ut({target:t,props:{session:i}})}}}();
</script>
<style>@import"https://fonts.googleapis.com/css?family=Source+Code+Pro:400,600|Source+Sans+Pro:400,600";html,body{background-color:#303538;color:#fff;padding:0;margin:0}.margins{padding:0 30px}.header.svelte-tewt95{background:#292f32}.row.svelte-tewt95{display:flex;align-items:center}.title.svelte-tewt95{font-size:34px;padding-top:20px;padding-bottom:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-right:10px;flex:1}.metrics.svelte-tewt95{display:grid;grid-template-columns:auto auto auto auto auto auto;font-size:14px;text-transform:uppercase;grid-gap:1px 8px}.metric-label.svelte-tewt95{font-weight:600;color:#a9abad}.metric-value.svelte-tewt95{color:#737779;margin-right:.5em}.frame.svelte-1aphj50.svelte-1aphj50{font-family:Source Code Pro,Roboto Mono,Consolas,Monaco,monospace;font-size:15px;z-index:0;position:relative;user-select:none}.group-header.svelte-1aphj50.svelte-1aphj50{margin-left:35px}.group-header-button.svelte-1aphj50.svelte-1aphj50{display:inline-block;color:#ffffff94;user-select:none;cursor:default;position:relative}.group-header-button.svelte-1aphj50.svelte-1aphj50:before{position:absolute;left:-3px;right:-3px;top:0px;bottom:-1px;content:"";z-index:-1;background-color:#3b4043}.group-header-button.svelte-1aphj50.svelte-1aphj50:hover:before{background-color:#4a4f54}.group-triangle.svelte-1aphj50.svelte-1aphj50,.frame-triangle.svelte-1aphj50.svelte-1aphj50{width:6px;height:10px;padding-left:6px;padding-right:5px;display:inline-block}.group-triangle.rotate.svelte-1aphj50.svelte-1aphj50,.frame-triangle.rotate.svelte-1aphj50.svelte-1aphj50{transform:translate(6px,4px) rotate(90deg)}.frame-description.svelte-1aphj50.svelte-1aphj50{display:flex}.frame-description.svelte-1aphj50.svelte-1aphj50:hover:before{position:absolute;left:-3px;right:-3px;top:-1px;height:22px;content:"";z-index:-1;background-color:#354759;opacity:.5}.frame-triangle.svelte-1aphj50.svelte-1aphj50{opacity:1}.frame-description.children-visible.svelte-1aphj50 .frame-triangle.svelte-1aphj50{opacity:0}.frame-description.children-visible.svelte-1aphj50:hover .frame-triangle.svelte-1aphj50{opacity:1}.name.svelte-1aphj50.svelte-1aphj50,.time.svelte-1aphj50.svelte-1aphj50,.code-position.svelte-1aphj50.svelte-1aphj50{user-select:text;cursor:default}.application-code.svelte-1aphj50 .name.svelte-1aphj50{color:#5db3ff}.time.svelte-1aphj50.svelte-1aphj50{margin-right:.55em;color:#b8e98685}.code-position.svelte-1aphj50.svelte-1aphj50{color:#ffffff80;text-align:right;margin-left:1em}.visual-guide{top:21px;bottom:0;left:0;width:2px;background-color:#fff;position:absolute;opacity:.08}.frame-description:hover~.visual-guide{opacity:.4}.frame-description:hover~.children .visual-guide{opacity:.1}.app.svelte-rmu4zi{font-family:Source Sans Pro,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
</style>
<script>
const sessionData = {"start_time": 1693385986.716287,"duration": 0.229756,"sample_count": 125,"program": "gndn.py","cpu_time": 0.114577,"root_frame": {"function": "<module>","file_path_short": "gndn.py","file_path": "gndn.py","line_no": 1,"time": 0.228874,"await_time": 0.000000,"is_application_code": true,"children": [{"function": "run","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 1279,"time": 0.115996,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "run_until_complete","file_path_short": "asyncio/base_events.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/base_events.py","line_no": 551,"time": 0.115996,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "run_forever","file_path_short": "asyncio/base_events.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/base_events.py","line_no": 528,"time": 0.115996,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_run_once","file_path_short": "asyncio/base_events.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/base_events.py","line_no": 1690,"time": 0.115996,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_run","file_path_short": "asyncio/events.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/events.py","line_no": 86,"time": 0.115996,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "run_app","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 1298,"time": 0.099000,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "run_async","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 1208,"time": 0.099000,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_process_messages","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 1962,"time": 0.097991,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "stop_application_mode","file_path_short": "textual/drivers/linux_driver.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/drivers/linux_driver.py","line_no": 216,"time": 0.094991,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "disable_input","file_path_short": "textual/drivers/linux_driver.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/drivers/linux_driver.py","line_no": 201,"time": 0.094991,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "join","file_path_short": "threading.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/threading.py","line_no": 1012,"time": 0.093991,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_wait_for_tstate_lock","file_path_short": "threading.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/threading.py","line_no": 1050,"time": 0.093991,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "lock.acquire","file_path_short": "<built-in>","file_path": "<built-in>","line_no": 0,"time": 0.093991,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Thread"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Thread"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "LinuxDriver"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "LinuxDriver"},{"function": "run_process_messages","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 2016,"time": 0.003000,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "NoneType"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "NoneType"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"},{"function": "_process_messages","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 467,"time": 0.010001,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_pre_process","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 482,"time": 0.005002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_dispatch_message","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 570,"time": 0.005002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "on_event","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 653,"time": 0.005002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_on_message","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 661,"time": 0.005002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 40,"time": 0.004001,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 23,"time": 0.004001,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_on_compose","file_path_short": "textual/widget.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/widget.py","line_no": 3257,"time": 0.003002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "mount","file_path_short": "textual/widget.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/widget.py","line_no": 727,"time": 0.003002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_register","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 2170,"time": 0.003002,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "apply","file_path_short": "textual/css/stylesheet.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/stylesheet.py","line_no": 363,"time": 0.003002,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Stylesheet"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "GNDN"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"},{"function": "_process_messages_loop","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 500,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_dispatch_message","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 570,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "on_event","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 653,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_on_message","file_path_short": "textual/message_pump.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/message_pump.py","line_no": 661,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 40,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 23,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_on_screen_resume","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 747,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_refresh_layout","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 647,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_compositor_refresh","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 564,"time": 0.004999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_update","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 947,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_full_update","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 966,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_render_chops","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 1009,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_get_renders","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 896,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_lines","file_path_short": "textual/widget.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/widget.py","line_no": 2963,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_widget","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 99,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 160,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_line","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 243,"time": 0.003998,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"},{"function": "_run_timer","file_path_short": "textual/timer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/timer.py","line_no": 110,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_run","file_path_short": "textual/timer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/timer.py","line_no": 117,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_tick","file_path_short": "textual/timer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/timer.py","line_no": 146,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 40,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_invoke","file_path_short": "textual/_callback.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_callback.py","line_no": 23,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_on_timer_update","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 579,"time": 0.006995,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_compositor_refresh","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 564,"time": 0.006005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_update","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 947,"time": 0.006005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_full_update","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 966,"time": 0.006005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_render_chops","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 1009,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_get_renders","file_path_short": "textual/_compositor.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_compositor.py","line_no": 896,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_lines","file_path_short": "textual/widget.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/widget.py","line_no": 2963,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_widget","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 99,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 160,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "render_line","file_path_short": "textual/_styles_cache.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_styles_cache.py","line_no": 243,"time": 0.005005,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "StylesCache"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Compositor"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Screen"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Timer"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Timer"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Timer"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "Handle"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "_UnixSelectorEventLoop"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "_UnixSelectorEventLoop"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "_UnixSelectorEventLoop"}],"group_id": "f705e235-323d-4c59-9f6c-417eeb5a55a5","class_name": "NoneType"},{"function": "<module>","file_path_short": "textual/__init__.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/__init__.py","line_no": 1,"time": 0.094507,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/_on.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_on.py","line_no": 1,"time": 0.046653,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/css/model.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/model.py","line_no": 1,"time": 0.046653,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/css/styles.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/styles.py","line_no": 1,"time": 0.044602,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/_animator.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/_animator.py","line_no": 1,"time": 0.024179,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "asyncio/__init__.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/__init__.py","line_no": 1,"time": 0.016173,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "asyncio/base_events.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/asyncio/base_events.py","line_no": 14,"time": 0.013154,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "ssl.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/ssl.py","line_no": 91,"time": 0.005816,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "create_dynamic","file_path_short": "<built-in>","file_path": "<built-in>","line_no": 0,"time": 0.002417,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "textual/timer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/timer.py","line_no": 5,"time": 0.006010,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/events.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/events.py","line_no": 12,"time": 0.005003,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/keys.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/keys.py","line_no": 1,"time": 0.003991,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "textual/color.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/color.py","line_no": 29,"time": 0.015338,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/css/tokenize.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/tokenize.py","line_no": 1,"time": 0.012342,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/css/tokenizer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/tokenizer.py","line_no": 1,"time": 0.007339,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/syntax.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/syntax.py","line_no": 1,"time": 0.006335,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "pygments/lexer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/pygments/lexer.py","line_no": 9,"time": 0.003136,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "__init__","file_path_short": "textual/css/tokenizer.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/tokenizer.py","line_no": 98,"time": 0.005003,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "compile","file_path_short": "re.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/re.py","line_no": 234,"time": 0.005003,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_compile","file_path_short": "re.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/re.py","line_no": 273,"time": 0.005003,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "compile","file_path_short": "sre_compile.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_compile.py","line_no": 759,"time": 0.005003,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "parse","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 913,"time": 0.003999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse_sub","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 411,"time": 0.003999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 469,"time": 0.003999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse_sub","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 411,"time": 0.002999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 469,"time": 0.002999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse_sub","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 411,"time": 0.002999,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_parse","file_path_short": "sre_parse.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/sre_parse.py","line_no": 469,"time": 0.002999,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4","class_name": "Expect"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "textual/css/_style_properties.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/_style_properties.py","line_no": 7,"time": 0.004058,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "rich/console.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/console.py","line_no": 1,"time": 0.043437,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/themes.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/themes.py","line_no": 1,"time": 0.009301,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/default_styles.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/default_styles.py","line_no": 1,"time": 0.007276,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/style.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/style.py","line_no": 1,"time": 0.007276,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/color.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/color.py","line_no": 1,"time": 0.006278,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "system","file_path_short": "platform.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/platform.py","line_no": 1061,"time": 0.005173,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "uname","file_path_short": "platform.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/platform.py","line_no": 923,"time": 0.005173,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "_syscmd_uname","file_path_short": "platform.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/platform.py","line_no": 780,"time": 0.005173,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "[self]","file_path_short": "platform.py","file_path": "","line_no": 0,"time": 0.003706,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "rich/pretty.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/pretty.py","line_no": 1,"time": 0.008549,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "attr/__init__.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/attr/__init__.py","line_no": 5,"time": 0.006180,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "rich/_log_render.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/_log_render.py","line_no": 1,"time": 0.006130,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/text.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/text.py","line_no": 1,"time": 0.005112,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/align.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/align.py","line_no": 1,"time": 0.003113,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/constrain.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/constrain.py","line_no": 1,"time": 0.003113,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "rich/scope.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/scope.py","line_no": 1,"time": 0.005667,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/table.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/table.py","line_no": 1,"time": 0.004662,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "rich/_ratio.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/rich/_ratio.py","line_no": 1,"time": 0.003659,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "fractions.py","file_path": "/Users/davep/.pyenv/versions/3.7.16/lib/python3.7/fractions.py","line_no": 4,"time": 0.002660,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"}],"group_id": "c848f321-fd8b-442f-89f7-fb8b4b9ce8b4"},{"function": "<module>","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 6,"time": 0.014306,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/css/stylesheet.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/css/stylesheet.py","line_no": 1,"time": 0.005163,"await_time": 0.000000,"is_application_code": false,"children": [{"function": "<module>","file_path_short": "textual/widget.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/widget.py","line_no": 3,"time": 0.003061,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "8b60d576-a084-45a4-9e6d-ad1c35dba2f8"}],"group_id": "8b60d576-a084-45a4-9e6d-ad1c35dba2f8"},{"function": "<module>","file_path_short": "textual/screen.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/screen.py","line_no": 4,"time": 0.003001,"await_time": 0.000000,"is_application_code": false,"children": [],"group_id": "8b60d576-a084-45a4-9e6d-ad1c35dba2f8"}],"group_id": "8b60d576-a084-45a4-9e6d-ad1c35dba2f8"},{"function": "__init__","file_path_short": "textual/app.py","file_path": "/Users/davep/develop/python/profile-textual/.venv/lib/python3.7/site-packages/textual/app.py","line_no": 338,"time": 0.003066,"await_time": 0.000000,"is_application_code": false,"children": [],"class_name": "GNDN"}]}}
;
pyinstrumentHTMLRenderer.render(document.getElementById('app'), sessionData);
</script>
</body>
</html>