profiling-explorer 1.1.0__tar.gz → 1.1.2__tar.gz
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.
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/CHANGELOG.rst +14 -0
- {profiling_explorer-1.1.0/src/profiling_explorer.egg-info → profiling_explorer-1.1.2}/PKG-INFO +1 -1
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/pyproject.toml +1 -1
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/views.py +7 -5
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2/src/profiling_explorer.egg-info}/PKG-INFO +1 -1
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/LICENSE +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/MANIFEST.in +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/README.rst +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/setup.cfg +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/__init__.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/__main__.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/main.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/management/__init__.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/management/commands/__init__.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/management/commands/runserver.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/py.typed +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/settings.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/static/script.js +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/static/styles.css +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/_row.html +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/base.html +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/callers_callees.html +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/index.html +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templatetags/__init__.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templatetags/profiling_explorer_tags.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/urls.py +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/SOURCES.txt +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/dependency_links.txt +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/entry_points.txt +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/requires.txt +0 -0
- {profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/top_level.txt +0 -0
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
Changelog
|
|
3
3
|
=========
|
|
4
4
|
|
|
5
|
+
1.1.2 (2026-04-14)
|
|
6
|
+
------------------
|
|
7
|
+
|
|
8
|
+
* Fix caller percentage calculation.
|
|
9
|
+
|
|
10
|
+
`PR #37 <https://github.com/adamchainz/profiling-explorer/pull/37>`__.
|
|
11
|
+
|
|
12
|
+
1.1.1 (2026-04-13)
|
|
13
|
+
------------------
|
|
14
|
+
|
|
15
|
+
* Fix filename simplification.
|
|
16
|
+
|
|
17
|
+
`PR #36 <https://github.com/adamchainz/profiling-explorer/pull/36>`__.
|
|
18
|
+
|
|
5
19
|
1.1.0 (2026-04-13)
|
|
6
20
|
------------------
|
|
7
21
|
|
|
@@ -73,10 +73,12 @@ def _shorten_filename_function(filename: str, funcname: str) -> tuple[str, str,
|
|
|
73
73
|
else:
|
|
74
74
|
if filename == "":
|
|
75
75
|
short_filename = ""
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
else:
|
|
77
|
+
match = _STRIP_PREFIX_RE.match(filename)
|
|
78
|
+
if match:
|
|
79
|
+
short_filename = filename[match.end() :]
|
|
80
|
+
else:
|
|
81
|
+
short_filename = os.path.relpath(filename)
|
|
80
82
|
full_filename = filename
|
|
81
83
|
return full_filename, short_filename, funcname
|
|
82
84
|
|
|
@@ -144,7 +146,7 @@ def build_profile(s: pstats.Stats, path: str) -> Profile:
|
|
|
144
146
|
internal_ms=None,
|
|
145
147
|
cumulative_ms=callee_cumulative_ms,
|
|
146
148
|
cumulative_ms_pct=(
|
|
147
|
-
min(100.0,
|
|
149
|
+
min(100.0, callee_cumulative_ms / total_time_ms * 100)
|
|
148
150
|
if total_time_ms
|
|
149
151
|
else 0.0
|
|
150
152
|
),
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/management/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/static/script.js
RENAMED
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/static/styles.css
RENAMED
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/_row.html
RENAMED
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/base.html
RENAMED
|
File without changes
|
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer/templates/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/requires.txt
RENAMED
|
File without changes
|
{profiling_explorer-1.1.0 → profiling_explorer-1.1.2}/src/profiling_explorer.egg-info/top_level.txt
RENAMED
|
File without changes
|