MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _stats_write

Function _stats_write

src/_apply_pages.py:37–40  ·  view source on GitHub ↗
(t, label)

Source from the content-addressed store, hash-verified

35
36
37def _stats_write(t, label):
38 t = time.time() - t
39 if t >= 10:
40 pymupdf.log(f'{os.getpid()=}: {t:2f}s: {label}.') # pylint: disable=c-extension-no-member
41
42
43def _worker_fn(page_number):

Callers 3

_worker_fnFunction · 0.85
childfnFunction · 0.85
_forkFunction · 0.85

Calls 1

logMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…