83c7a1f81c
- Update to 5.0.0: * ENH: Add support for sys.monitoring (Python >= 3.12) * FIX: Fixed issue when calling kernprof with neither the -l nor -b flag * FIX: Fixed auto-profiling of async function definitions * ENH: Added CLI argument -m to kernprof for running a library module as a script * FIX: Fixed explicit profiling of class methods; added handling for profiling static, bound, and partial methods, functools.partial objects, (cached) properties, and async generator functions * FIX: Fixed namespace bug when running kernprof -m on certain modules. * FIX: Fixed @contextlib.contextmanager bug where the cleanup code (e.g. restoration of sys attributes) is not run if exceptions occurred inside the context * ENH: Added CLI arguments -c to kernprof for (auto-)profiling module/package/inline-script execution instead of that of script files; passing '-' as the script-file name now also reads from and profiles stdin * ENH: In Python >=3.11, profiled objects are reported using their qualified name. * ENH: Highlight final summary using rich if enabled * ENH: Made it possible to use multiple profiler instances simultaneously * ENH: various improvements related to auto-profiling: * FIX: Fixed line tracing for Cython code; superseded use of the legacy tracing system with sys.monitoring * FIX: Tracing-system-related fixes * ENH: Added capability to parse TOML config files for defaults - Add patch no-python-in-path.patch: * Do not search the path for python. - Add patch support-python314.patch: * Support Python 3.14 sys.monitoring changes.
Steve Kowalik2025-11-05 03:33:41 +00:00
441279412b
Accepting request 1274207 from devel:languages:python
Ana Guerrero2025-05-05 20:26:11 +00:00
a4e2851fc6
- update to 4.2.0: * FIX: Fix issue with auto-profile of editable installs #279 * FIX: Lookup OP-codes instead of hard coding them #284 * CHANGE: Drop support for Python 3.6 and Python 3.7 * ENH: Add support for Python 3.13
Dirk Mueller2025-05-04 08:51:52 +00:00
1222d07288
Accepting request 1226686 from devel:languages:python
Ana Guerrero2024-11-27 21:11:52 +00:00
d4e46ccda1
- Update to 4.1.3: * FIX: duration summary now respects the stripzeros argument. * FIX: minor test fixes. * ENH: building osx wheels for x86 and arm64. * ENH: documentation improvements. * Invoke subshell with the current python interpreter * Respect stripzeros in summary report * Normalize path before comparison - Switch to pyproject macros. - Drop patch use-sys-executable-python.patch, included upstream.
Steve Kowalik2024-11-27 00:01:34 +00:00
b18473bfd3
Accepting request 1157657 from devel:languages:python
Ana Guerrero2024-03-13 21:21:13 +00:00
e20f3e2173
- update to 4.1.2: * ENH: Add support for Python 3.12 #246 * ENH: Add osx universal2 and arm64 wheels * ENH: Fix issue with integer overflow on 32 bit systems * FIX: `get_stats is no longer slowed down when profiling many code sections #236 * FIX: skipzeros now checks for zero hits instead of zero time * FIX: Fixed errors in Python 3.11 with duplicate functions. * FIX: show_text now increases column sizes or switches to scientific notation to maintain alignment * ENH: show_text now has new options: sort and summarize * ENH: Added new CLI arguments -srm to line_profiler to control sorting, rich printing, and summary printing. * ENH: New global profile function that can be enabled by --profile or LINE_PROFILE=1. * ENH: New auto-profile feature in kernprof` that will profile all functions in specified modules. * ENH: Kernprof now outputs instructions on how to view results. * ENH: Added readthedocs integration: https://kernprof.readthedocs.io/en/latest/index.html - restrict to older Cython release * FIX: #100 Exception raise ZeroDivisionError being patient. for contributing it. this feature. Cournapeau for spotting this. * Update for compatibility with newer versions of Cython. * Update IPython compatibility for 0.11+. Thanks to Yaroslav
Dirk Mueller2023-12-05 15:53:56 +00:00
931293b9af
- Update to 4.0.2: * FIX: AttributeError on certain methods. #191 * FIX: Profiling classmethods works again. #183 * ENH: Python 3.11 is now supported. * ENH: Profiling overhead is now drastically smaller, thanks to reimplementing almost all of the tracing callback in C++. * ENH: Added the `-i <# of seconds> option to the kernprof` script. * CHANGE: Cython's native cythonize function is now used to compile the project, instead of scikit-build's convoluted process. * CHANGE: Due to optimizations done while reimplementing the callback in C++, the profiler's code_map and last_time attributes now are indexed by a hash of the code block's bytecode and its line number. * FIX: filepath test in is_ipython_kernel_cell for Windows #161 * ADD: setup.py now checks LINE_PROFILER_BUILD_METHOD to determine how to build binaries * ADD: LineProfiler.add_function warns if an added function has a __wrapped__ attribute - Due to build system change, massively simplify %build.
Steve Kowalik2023-02-20 07:04:22 +00:00
fa18c11c6c
Accepting request 1007071 from devel:languages:python
Richard Brown2022-09-30 15:57:52 +00:00
19b2e4509f
Accepting request 1006991 from home:yarunachalam:branches:devel:languages:python
Dirk Mueller2022-09-29 19:02:16 +00:00