Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
6d122f0038
Sipify
2025-03-30 20:48:07 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
e1d08faf63
Don't condense profile results from duplicate layers with the same
...
name into one entry in the renderer profile chart
2023-10-24 11:16:43 +10:00
Mathieu Pellerin
be91ea1909
[api][profiler] Add a function to export the current runtime profiler model content as text
2023-09-13 12:41:00 +07:00
Nyall Dawson
b70fe25051
Add method to manually insert an entry into the runtime profiler
...
Useful when we will be manually calculating runtime duration and
want to push this value to the runtime profiler
2023-09-12 19:30:24 +10:00
Denis Rouzaud
35c557a234
run sipify
2021-05-26 14:30:54 +02:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Matthias Kuhn
42af1efa18
Fix a bunch of doc issues
2020-10-22 20:42:14 +02:00
Nyall Dawson
edfdbdb427
Try to fix windows build
2020-06-28 15:50:10 +10:00
Nyall Dawson
ae8dbd884e
More fine tuned profiling for vector layer loading in projects
2020-06-28 15:50:10 +10:00
Nyall Dawson
005ac8af2b
[FEATURE] Add project load profile times to debugging tools dock
...
Now it's possible to get a breakdown of the various stages of
project load, in order to identify the causes of slow project
load times.
TODO: in 99% of cases this will be caused by one or more layers,
so it would be nice to further break down the individual layer load
times, e.g. so that for a WFS layer we see the time taken for
the initial server capabilities queries, etc...
For now, you just get the overall load time of each individual
layer.
2020-06-28 15:50:10 +10:00
Nyall Dawson
42a1ed1ce0
Fix clearing groups
2020-06-28 15:50:10 +10:00
Nyall Dawson
5c842a6286
[api] Rework QgsRuntimeProfiler for flexibility
...
- Make profiler thread safe
- Allow profiling of other, non-startup task groups (e.g. project
load times, map render times)
2020-06-28 15:50:10 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Nyall Dawson
a913a6aa5a
Create RAII QgsScopedRuntimeProfile class and Python context manager
...
to ease logging of runtime profiles.
Now it's possible to do:
with QgsRuntimeProfiler.profile('My operation'):
# do something
to automatically handle everything required to log the operation runtime
2020-05-19 04:35:34 +10:00
Nyall Dawson
1b4dd484bf
Improve API for QgsRuntimeProfiler
...
Make it easier to nest profiled calls by removing the concept of groups,
and instead allow any profiled operation to have log child operation
runtimes as well as its overall runtime.
2020-05-19 04:35:34 +10:00
Nyall Dawson
f8bc97030b
Remove extra space added before first line of docstring
2018-05-28 08:22:11 +10:00
Nyall Dawson
38850bdb94
[pyqgis] Ensure that multiline param tags are indented for additional lines
2018-05-27 18:54:09 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00