DASF
1.0b5
Principles
Installation Guide
Overview
Tutorials
DASF API Reference
dasf
Subpackages
dasf.datasets
dasf.debug
dasf.feature_extraction
dasf.ml
dasf.pipeline
dasf.profile
dasf.transforms
dasf.utils
DASF
DASF API Reference
dasf
dasf.utils
dasf.utils.benchmark
View page source
dasf.utils.benchmark
Attributes
USE_MEMRAY
USE_MEM_PROF
Classes
TimeBenchmark
MemoryBenchmark
Module Contents
dasf.utils.benchmark.
USE_MEMRAY
=
True
dasf.utils.benchmark.
USE_MEM_PROF
=
True
class
dasf.utils.benchmark.
TimeBenchmark
(
backend
=
'cprofile'
)
[source]
__backend
__enter__
(
)
[source]
__exit__
(
*
args
,
**
kwargs
)
[source]
run
(
function
,
*
args
,
**
kwargs
)
[source]
class
dasf.utils.benchmark.
MemoryBenchmark
(
backend
=
'memray'
,
debug
=
False
,
output_file
=
None
,
*
args
,
**
kwargs
)
[source]
__backend
__debug
__output_file
__args
__kwargs
__enter__
(
)
[source]
__exit__
(
*
args
,
**
kwargs
)
[source]
run
(
function
,
*
args
,
**
kwargs
)
[source]