Remove profile=True from currently profiled cython

This commit is contained in:
Adriane Boyd 2023-09-12 08:50:01 +02:00
parent 55614d6799
commit 538304948e
24 changed files with 22 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True
# cython: infer_types=True
from typing import Iterable

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True
# cython: infer_types=True
from pathlib import Path
from typing import Iterable, Tuple, Union

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True
# cython: infer_types=True
from typing import Any, Callable, Dict, Iterable
import srsly

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True
# cython: infer_types=True
import warnings
from collections import defaultdict
from itertools import product

View File

@ -1,4 +1,4 @@
# cython: profile=True, binding=True, infer_types=True
# cython: binding=True, infer_types=True
from cpython.object cimport PyObject
from libc.stdint cimport int64_t

View File

@ -1,4 +1,4 @@
# cython: binding=True, infer_types=True, profile=True
# cython: binding=True, infer_types=True
from typing import Iterable, List
from cymem.cymem cimport Pool

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True
# cython: infer_types=True
from preshed.maps cimport map_clear, map_get, map_init, map_iter, map_set
import warnings

View File

@ -1,5 +1,4 @@
# cython: infer_types=True
# cython: profile=True
import numpy
from thinc.extra.search cimport Beam

View File

@ -1,4 +1,4 @@
# cython: profile=True, cdivision=True, infer_types=True
# cython: cdivision=True, infer_types=True
from cymem.cymem cimport Address, Pool
from libc.stdint cimport int32_t
from libcpp.vector cimport vector

View File

@ -1,4 +1,4 @@
# cython: profile=True, infer_types=True
# cython: infer_types=True
"""Implements the projectivize/deprojectivize mechanism in Nivre & Nilsson 2005
for doing pseudo-projective parsing implementation uses the HEAD decoration
scheme.

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from collections import defaultdict
from typing import Callable, Optional

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from itertools import islice
from typing import Callable, Dict, Optional, Union

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from typing import Optional
import numpy

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from collections import defaultdict
from typing import Callable, Optional

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
import warnings
from typing import Callable, Dict, Iterable, Iterator, Tuple, Union

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from typing import Callable, List, Optional
import srsly

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from itertools import islice
from typing import Callable, Optional

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from itertools import islice
from typing import Callable, Optional

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from typing import Callable, Dict, Iterable, Iterator, Optional, Tuple
import srsly

View File

@ -1,4 +1,4 @@
# cython: embedsignature=True, profile=True, binding=True
# cython: embedsignature=True, binding=True
cimport cython
from cymem.cymem cimport Pool
from cython.operator cimport dereference as deref

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, bounds_check=False, profile=True
# cython: infer_types=True, bounds_check=False
from cymem.cymem cimport Pool
from libc.string cimport memset

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, bounds_check=False, profile=True
# cython: infer_types=True, bounds_check=False
from typing import Set
cimport cython

View File

@ -1,4 +1,4 @@
# cython: infer_types=True, profile=True, binding=True
# cython: infer_types=True, binding=True
from typing import Callable
from cython.operator cimport dereference as deref

View File

@ -1,4 +1,3 @@
# cython: profile=True
import functools
import numpy