profile-viewer 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/dist/AssemblyView-codemirror-D6IBMDRW.js +3 -0
- data/dist/AssemblyView-codemirror-D6IBMDRW.js.map +7 -0
- data/dist/SourceView-codemirror-NF5HZACX.js +14 -0
- data/dist/SourceView-codemirror-NF5HZACX.js.map +7 -0
- data/dist/_headers +1 -4
- data/dist/chunk-46YDEKKM.js +2 -0
- data/dist/chunk-46YDEKKM.js.map +7 -0
- data/dist/chunk-6K4OT4SN.js +11 -0
- data/dist/chunk-6K4OT4SN.js.map +7 -0
- data/dist/chunk-FQFFJJVU.js +2 -0
- data/dist/chunk-FQFFJJVU.js.map +7 -0
- data/dist/chunk-JZQU3SPI.js +2 -0
- data/dist/chunk-JZQU3SPI.js.map +7 -0
- data/dist/chunk-RMHNU7HN.js +2 -0
- data/dist/chunk-RMHNU7HN.js.map +7 -0
- data/dist/contribute.json +1 -1
- data/dist/docs/css/vue_v4.13.1.min.css +1 -0
- data/dist/docs/guide-filtering-call-trees.md +12 -0
- data/dist/docs/guide-ui-tour-panels.md +16 -1
- data/dist/docs/index.html +5 -6
- data/dist/docs/js/docsify_v4.13.1+.min.js +1 -0
- data/dist/docs/js/init.js +11 -1
- data/dist/docs/js/search_v4.13.1+.min.js +1 -0
- data/dist/gecko-profiler-demangle-3UYO3F2Y.js +2 -0
- data/dist/gecko-profiler-demangle-3UYO3F2Y.js.map +7 -0
- data/dist/gz.worker-C7QSA26N.js +38 -0
- data/dist/index-CZ7T6DL2.css +2 -0
- data/dist/index-CZ7T6DL2.css.map +7 -0
- data/dist/index-P5VLDZC7.js +381 -0
- data/dist/index-P5VLDZC7.js.map +7 -0
- data/dist/index.html +38 -1
- data/dist/index_bg-FTIMKZRG.wasm +0 -0
- data/dist/jszip.min-JBI6ADTT.js +18 -0
- data/dist/jszip.min-JBI6ADTT.js.map +7 -0
- data/dist/locales/be/app.ftl +50 -11
- data/dist/locales/de/app.ftl +114 -16
- data/dist/locales/el/app.ftl +135 -42
- data/dist/locales/en-CA/app.ftl +97 -11
- data/dist/locales/en-GB/app.ftl +114 -16
- data/dist/locales/en-US/app.ftl +116 -1
- data/dist/locales/es-CL/app.ftl +105 -15
- data/dist/locales/fr/app.ftl +82 -16
- data/dist/locales/fur/app.ftl +35 -11
- data/dist/locales/fy-NL/app.ftl +114 -16
- data/dist/locales/ia/app.ftl +118 -19
- data/dist/locales/it/app.ftl +108 -16
- data/dist/locales/kab/app.ftl +6 -80
- data/dist/locales/nl/app.ftl +114 -16
- data/dist/locales/pt-BR/app.ftl +104 -16
- data/dist/locales/ru/app.ftl +116 -23
- data/dist/locales/sv-SE/app.ftl +114 -16
- data/dist/locales/tr/app.ftl +149 -13
- data/dist/locales/uk/app.ftl +27 -19
- data/dist/locales/zh-CN/app.ftl +75 -13
- data/dist/locales/zh-TW/app.ftl +100 -14
- data/dist/photon/index.css +2 -0
- data/dist/photon/index.css.map +7 -0
- data/dist/photon/index.html +856 -26
- data/dist/photon/index.js +1 -0
- data/dist/photon/index.js.map +7 -0
- data/dist/service-worker-compat.js +51 -1
- data/dist/simpleperf-UUIE7C7E.js +25 -0
- data/dist/simpleperf-UUIE7C7E.js.map +7 -0
- data/dist/sw.js +1 -1
- data/dist/sw.js.map +1 -1
- data/dist/{workbox-e3490c72.js → workbox-1ef09536.js} +2 -2
- data/dist/workbox-1ef09536.js.map +1 -0
- data/ruby-bin/profile-viewer +48 -40
- data/ruby-bin/profile-viewer-version.rb +1 -1
- metadata +56 -103
- data/dist/022efb839d22fa54a716.svg +0 -28
- data/dist/029b9e4fd0218d7b09c6.svg +0 -8
- data/dist/0c510afd6169a0a83f97.svg +0 -14
- data/dist/0d5cf282780cd1a5ec64.svg +0 -8
- data/dist/118632062f4755918dac.svg +0 -4
- data/dist/11c5dca6d97c9e10e5b7.svg +0 -9
- data/dist/136.ad4176dc2a8e5cf33ef3.bundle.js +0 -2
- data/dist/136.ad4176dc2a8e5cf33ef3.bundle.js.map +0 -1
- data/dist/171.37d1e1824587d8df0ae2.bundle.js +0 -2
- data/dist/171.37d1e1824587d8df0ae2.bundle.js.map +0 -1
- data/dist/18e7fdd45099134897d2.svg +0 -8
- data/dist/1ddbc3ce40af8c7a648b.svg +0 -6
- data/dist/234ed61ab185caff67e3.svg +0 -8
- data/dist/280.4edd20bd6228986bbf2e.bundle.js +0 -2
- data/dist/280.4edd20bd6228986bbf2e.bundle.js.map +0 -1
- data/dist/2d4b477bc424d35a0245.svg +0 -25
- data/dist/2e43ad991eb141fc017f.svg +0 -9
- data/dist/2ea5b50b7361e6de561c.svg +0 -11
- data/dist/2f37d1addc2d2f5b699e.module.wasm +0 -0
- data/dist/31fe933f3a12be1aa7f3.svg +0 -4
- data/dist/390aa266f451c1005f61.svg +0 -10
- data/dist/3a829bf1fcf02598aa4b.svg +0 -6
- data/dist/3c3fda7c08bcc9544c64.svg +0 -6
- data/dist/4260d5db8309a6f83637.svg +0 -10
- data/dist/4536fd0738f36c3463bc.svg +0 -1
- data/dist/490065792b7e903c9f3e.svg +0 -6
- data/dist/49da6a2153f62ef73d17.svg +0 -7
- data/dist/4ecb077d8715f89c0f87.svg +0 -13
- data/dist/524e896f487119a0b832.svg +0 -13
- data/dist/556.b8d3d4d402ced081615a.bundle.js +0 -2
- data/dist/556.b8d3d4d402ced081615a.bundle.js.map +0 -1
- data/dist/6bd0589a27236471fdab.svg +0 -4
- data/dist/6c6b49af3a86dfdd44e6.svg +0 -4
- data/dist/6c8063be3afa1d95c902.svg +0 -3
- data/dist/71730566d6c47ffdc965.svg +0 -12
- data/dist/7273fadce89da05535e5.svg +0 -4
- data/dist/731673c749e57bf6f544.svg +0 -13
- data/dist/76e5b29823c9fd62d90d.svg +0 -3
- data/dist/7853c71223701f30d495.svg +0 -19
- data/dist/79856ce399cb305fafb8.svg +0 -19
- data/dist/7c7ac3c7df370340cfd2.svg +0 -7
- data/dist/7e3ac9afb25cfe809520.svg +0 -1
- data/dist/81762b0b1aacd3686a6b.svg +0 -12
- data/dist/86e81402ef76d28ff55f.svg +0 -15
- data/dist/874.7cb94ee0732c5a2ca826.bundle.js +0 -2
- data/dist/874.7cb94ee0732c5a2ca826.bundle.js.map +0 -1
- data/dist/8846b19a497771fe0e9d.svg +0 -4
- data/dist/8aae7b979b04407f71a4.svg +0 -3
- data/dist/8b8b909e42722172d494.svg +0 -7
- data/dist/8dab2a6ba757bcc6e9a5.svg +0 -3
- data/dist/9103e94f1d34c15d44be.svg +0 -6
- data/dist/957.2f40be4cef3037bc352b.bundle.js +0 -3
- data/dist/957.2f40be4cef3037bc352b.bundle.js.LICENSE.txt +0 -19
- data/dist/957.2f40be4cef3037bc352b.bundle.js.map +0 -1
- data/dist/999.a1119c25d77e1883c1e1.bundle.js +0 -2
- data/dist/999.a1119c25d77e1883c1e1.bundle.js.map +0 -1
- data/dist/9a7bd6ec36312a2baa7e.svg +0 -1
- data/dist/9d858d1a3ab57f8ee2e1.svg +0 -4
- data/dist/9eb1fab2684d1e1f0e26.svg +0 -13
- data/dist/a3196e840709b18a3119.svg +0 -1
- data/dist/aa867391c311267af5a9.svg +0 -4
- data/dist/acb8393f3fb9c59b15c9.svg +0 -20
- data/dist/b5698a02eef37ce29146.svg +0 -10
- data/dist/c3432220f657733ed05f.svg +0 -10
- data/dist/ca2af827049e9039ef9c.svg +0 -8
- data/dist/d09537c705fb0878eb63.svg +0 -4
- data/dist/d6df0017c0241dfe86ff.svg +0 -6
- data/dist/d9c199b3e3e469cc5713.svg +0 -10
- data/dist/da1f21c60c7217745dd8.svg +0 -1
- data/dist/docs/gitpod.md +0 -34
- data/dist/docs/js/docsify_v4.12.2+.min.js +0 -1
- data/dist/docs/js/ga_v4.12.2.min.js +0 -1
- data/dist/docs/js/search_v4.12.2.min.js +0 -1
- data/dist/e4ed50222911c5af9a32.svg +0 -12
- data/dist/e70722c0fe0ac3d4227b.svg +0 -10
- data/dist/f8e25c2ebeb0a0725a9e.svg +0 -12
- data/dist/fcb532a05dd4b09c2d08.svg +0 -10
- data/dist/fd040fb5f4e7a515bb3c.svg +0 -15
- data/dist/main.6cdc9308b67c00785584.bundle.js +0 -198
- data/dist/main.6cdc9308b67c00785584.bundle.js.LICENSE.txt +0 -63
- data/dist/main.6cdc9308b67c00785584.bundle.js.map +0 -1
- data/dist/photon/118632062f4755918dac.svg +0 -4
- data/dist/photon/31fe933f3a12be1aa7f3.svg +0 -4
- data/dist/photon/49da6a2153f62ef73d17.svg +0 -7
- data/dist/photon/6bd0589a27236471fdab.svg +0 -4
- data/dist/photon/6c8063be3afa1d95c902.svg +0 -3
- data/dist/photon/76e5b29823c9fd62d90d.svg +0 -3
- data/dist/photon/8aae7b979b04407f71a4.svg +0 -3
- data/dist/photon/8dab2a6ba757bcc6e9a5.svg +0 -3
- data/dist/photon/9103e94f1d34c15d44be.svg +0 -6
- data/dist/photon/aa867391c311267af5a9.svg +0 -4
- data/dist/photon/main.e1d25e5ea6d5812b127b.bundle.js +0 -2
- data/dist/photon/main.e1d25e5ea6d5812b127b.bundle.js.map +0 -1
- data/dist/workbox-e3490c72.js.map +0 -1
- data/dist/zee-worker.js +0 -1
- /data/dist/{4d26f0e38c22eedde178.jpg → firefox-profiler-button-2021-05-06-ZEMGS6NI.jpg} +0 -0
- /data/dist/{18a5d1d99f1c65c33b71.png → perf-screenshot-2024-02-29-4YCKHIPD.png} +0 -0
- /data/dist/{favicon.png → res/img/favicon.png} +0 -0
- /data/dist/{58c5415e952fb6dddd6b.png → spinner-DC3JCQB7.png} +0 -0
data/dist/_headers
CHANGED
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
# Protection for versions that do not support CSP yet.
|
|
8
8
|
X-XSS-Protection: 1; mode=block
|
|
9
9
|
|
|
10
|
-
# Do not allow being embedded in a frame.
|
|
11
|
-
X-Frame-Options: SAMEORIGIN
|
|
12
|
-
|
|
13
10
|
# Do not give the referrer for external navigations.
|
|
14
11
|
Referrer-Policy: same-origin
|
|
15
12
|
|
|
@@ -25,7 +22,7 @@
|
|
|
25
22
|
# 7. `frame-ancestors` is the same purpose as `X-Frame-Options` above.
|
|
26
23
|
# 8. `form-action`prevents forms, we don't need this.`
|
|
27
24
|
# 9. `frame-src` allows the embedding of YouTube videos in the docs.
|
|
28
|
-
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src http: https: data:; object-src 'none'; connect-src *;
|
|
25
|
+
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' https://fonts.gstatic.com; img-src http: https: data:; object-src 'none'; connect-src *; form-action 'none'; frame-src www.youtube-nocookie.com
|
|
29
26
|
|
|
30
27
|
# Set the correct MIME type for WebAssembly modules.
|
|
31
28
|
/*.wasm
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
function m(n,i,t=0,e=n.length){if(t<0||t>n.length||e<0||e>n.length)throw new TypeError("low and high must lie within the array's range");for(;t<e;){let r=t+e>>1;i<n[r]?e=r:t=r+1}return t}function b(n,i,t,e=0,r=n.length){if(e<0||e>n.length||r<0||r>n.length)throw new TypeError("low and high must lie within the array's range");for(;e<r;){let u=e+r>>1;i<t(n[u])?r=u:e=u+1}return e}function s(n,i,t,e=0,r=n.length){if(e<0||e>n.length||r<0||r>n.length)throw new TypeError("low and high must lie within the array's range");for(;e<r;){let u=e+r>>1;i<t(n[u])?r=u:e=u+1}return e}function y(n,i,t=0,e=n.length){if(t<0||t>n.length||e<0||e>n.length)throw new TypeError("low and high must lie within the array's range");for(;t<e;){let r=t+e>>1;i<=n[r]?e=r:t=r+1}return t}export{m as a,b,s as c,y as d};
|
|
2
|
+
//# sourceMappingURL=/chunk-46YDEKKM.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/utils/bisect.ts"],
|
|
4
|
+
"sourcesContent": ["// This file originally comes from https://github.com/3rd-Eden/node-bisection/, but has been\n// imported and changed to fix some bugs.\n\n/*\n Copyright (c) 2010/2011 Arnout Kazemier,3rd-Eden\n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n copies of the Software, and to permit persons to whom the Software is\n furnished to do so, subject to the following conditions:\n The above copyright notice and this permission notice shall be included in\n all copies or substantial portions of the Software.\n THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n THE SOFTWARE. \n*/\n\n/**\n * These functions are used on sorted arrays.\n *\n * You commonly use them in one of two cases:\n *\n * 1. When you want to insert a new element into a sorted array, at a position\n * such that the array remains in sorted order. Or\n * 2. When you have a sorted array of interval start positions, and you want\n * to find out which interval includes a certain number.\n *\n * For case 1, you can use either bisectionRight or bisectionLeft. The difference\n * only matters if you care about the positioning of two equal elements. For\n * example:\n * bisectionRight([1, 2, 3], 2) === 2\n * bisectionLeft([1, 2, 3], 2) === 1\n * i.e. the returned index is either to the right or to the left of the equal\n * element. If no exactly matching element is present in the array, both functions\n * return the same value, i.e. the index of the first element that's larger than\n * the passed in element (which is the index at which that element would need to\n * be inserted).\n *\n * ```js\n * const insertionIndexR = bisectionRight(array, x);\n * assert(array[insertionIndexR] > x);\n * assert(array[insertionIndexR - 1] <= x);\n *\n * const insertionIndexL = bisectionLeft(array, x);\n * assert(array[insertionIndexL] >= x);\n * assert(array[insertionIndexL - 1] < x);\n * ```\n *\n * For case 2, you'll have to use bisectionRight, and subtract 1 from the return\n * value. For example, if you have the half-open intervals 2..4, 4..7, 7..Infinity,\n * then your start position array will be [2, 4, 7] and bisectionRight() - 1 will\n * be the index of the last interval whose start position is <= the checked element.\n * bisectionRight([2, 4, 7], 1) - 1 === -1\n * bisectionRight([2, 4, 7], 2) - 1 === 0\n * bisectionRight([2, 4, 7], 3) - 1 === 0\n * bisectionRight([2, 4, 7], 4) - 1 === 1\n * bisectionRight([2, 4, 7], 5) - 1 === 1\n * bisectionRight([2, 4, 7], 6) - 1 === 1\n * bisectionRight([2, 4, 7], 7) - 1 === 2\n * bisectionRight([2, 4, 7], 20) - 1 === 2\n *\n * Example code:\n *\n * ```js\n * const intervalStarts = [2, 4, 7];\n * const insertionIndex = bisectionRight(intervalStarts, x);\n * if (insertionIndex === 0) {\n * // x is before the first interval.\n * return null;\n * }\n *\n * const intervalIndex = insertionIndex - 1;\n * assert(x >= intervalStarts[intervalIndex]);\n *\n * // If there can be gaps between your intervals, you also need to check the\n * // interval end:\n * if (x >= intervalEnds[intervalIndex]) {\n * // x isn't actually inside this interval! It's in the gap between\n * // intervalIndex and intervalIndex+1.\n * return null;\n * }\n *\n * // Now we know that x is inside the interval.\n * assert(x >= intervalStarts[intervalIndex] && x < intervalEnds[intervalIndex]);\n * return intervalIndex;\n * ```\n */\n\ntype TypedArray =\n | Int8Array\n | Uint8Array\n | Uint8ClampedArray\n | Int16Array\n | Uint16Array\n | Int32Array\n | Uint32Array\n | Float32Array\n | Float64Array\n | BigInt64Array\n | BigUint64Array;\n\nexport function bisectionRight(\n array: number[] | TypedArray,\n x: number,\n low: number = 0,\n high: number = array.length\n): number {\n if (low < 0 || low > array.length || high < 0 || high > array.length) {\n throw new TypeError(\"low and high must lie within the array's range\");\n }\n\n while (low < high) {\n const mid = (low + high) >> 1;\n\n if (x < array[mid]) {\n high = mid;\n } else {\n low = mid + 1;\n }\n }\n\n return low;\n}\n\n/**\n * Like bisectionRight, but accepts a \"key\" function which maps an element of\n * the array to a number \"key\". The array must be sorted by that key.\n * The looked-up element `x` will be compared to the keys.\n */\nexport function bisectionRightByKey<T>(\n array: T[],\n x: number,\n toKey: (arg: T) => number,\n low: number = 0,\n high: number = array.length\n): number {\n if (low < 0 || low > array.length || high < 0 || high > array.length) {\n throw new TypeError(\"low and high must lie within the array's range\");\n }\n\n while (low < high) {\n const mid = (low + high) >> 1;\n\n if (x < toKey(array[mid])) {\n high = mid;\n } else {\n low = mid + 1;\n }\n }\n\n return low;\n}\n\n/**\n * This is the same as bisectionRightByKey but uses string as the key type.\n * If you can find a way to make Flow accept a single function that handles\n * both string and number keys, please remove this duplication.\n */\nexport function bisectionRightByStrKey<T>(\n array: T[],\n x: string,\n toKey: (arg: T) => string,\n low: number = 0,\n high: number = array.length\n): number {\n if (low < 0 || low > array.length || high < 0 || high > array.length) {\n throw new TypeError(\"low and high must lie within the array's range\");\n }\n\n while (low < high) {\n const mid = (low + high) >> 1;\n\n if (x < toKey(array[mid])) {\n high = mid;\n } else {\n low = mid + 1;\n }\n }\n\n return low;\n}\n\nexport function bisectionLeft(\n array: number[] | TypedArray,\n x: number,\n low: number = 0,\n high: number = array.length\n): number {\n if (low < 0 || low > array.length || high < 0 || high > array.length) {\n throw new TypeError(\"low and high must lie within the array's range\");\n }\n\n while (low < high) {\n const mid = (low + high) >> 1;\n\n if (x <= array[mid]) {\n high = mid;\n } else {\n low = mid + 1;\n }\n }\n\n return low;\n}\n"],
|
|
5
|
+
"mappings": "AA0GO,SAASA,EACdC,EACAC,EACAC,EAAc,EACdC,EAAeH,EAAM,OACb,CACR,GAAIE,EAAM,GAAKA,EAAMF,EAAM,QAAUG,EAAO,GAAKA,EAAOH,EAAM,OAC5D,MAAM,IAAI,UAAU,gDAAgD,EAGtE,KAAOE,EAAMC,GAAM,CACjB,IAAMC,EAAOF,EAAMC,GAAS,EAExBF,EAAID,EAAMI,CAAG,EACfD,EAAOC,EAEPF,EAAME,EAAM,CAEhB,CAEA,OAAOF,CACT,CAOO,SAASG,EACdL,EACAC,EACAK,EACAJ,EAAc,EACdC,EAAeH,EAAM,OACb,CACR,GAAIE,EAAM,GAAKA,EAAMF,EAAM,QAAUG,EAAO,GAAKA,EAAOH,EAAM,OAC5D,MAAM,IAAI,UAAU,gDAAgD,EAGtE,KAAOE,EAAMC,GAAM,CACjB,IAAMC,EAAOF,EAAMC,GAAS,EAExBF,EAAIK,EAAMN,EAAMI,CAAG,CAAC,EACtBD,EAAOC,EAEPF,EAAME,EAAM,CAEhB,CAEA,OAAOF,CACT,CAOO,SAASK,EACdP,EACAC,EACAK,EACAJ,EAAc,EACdC,EAAeH,EAAM,OACb,CACR,GAAIE,EAAM,GAAKA,EAAMF,EAAM,QAAUG,EAAO,GAAKA,EAAOH,EAAM,OAC5D,MAAM,IAAI,UAAU,gDAAgD,EAGtE,KAAOE,EAAMC,GAAM,CACjB,IAAMC,EAAOF,EAAMC,GAAS,EAExBF,EAAIK,EAAMN,EAAMI,CAAG,CAAC,EACtBD,EAAOC,EAEPF,EAAME,EAAM,CAEhB,CAEA,OAAOF,CACT,CAEO,SAASM,EACdR,EACAC,EACAC,EAAc,EACdC,EAAeH,EAAM,OACb,CACR,GAAIE,EAAM,GAAKA,EAAMF,EAAM,QAAUG,EAAO,GAAKA,EAAOH,EAAM,OAC5D,MAAM,IAAI,UAAU,gDAAgD,EAGtE,KAAOE,EAAMC,GAAM,CACjB,IAAMC,EAAOF,EAAMC,GAAS,EAExBF,GAAKD,EAAMI,CAAG,EAChBD,EAAOC,EAEPF,EAAME,EAAM,CAEhB,CAEA,OAAOF,CACT",
|
|
6
|
+
"names": ["bisectionRight", "array", "x", "low", "high", "mid", "bisectionRightByKey", "toKey", "bisectionRightByStrKey", "bisectionLeft"]
|
|
7
|
+
}
|