absfuyu.core.baseclass2 module
Absfuyu: Core
Bases for other features (with library)
Version: 5.1.0 Date updated: 10/03/2025 (dd/mm/yyyy)
- class absfuyu.core.baseclass2.PerformanceTrackingMeta(name: str, bases: tuple, attrs: dict[str, Any])[source]
Bases:
type
A metaclass that tracks the instantiation time of classes.
Usage:
>>> class Demo(metaclass=PerformanceTrackingMeta): ... def __init__(self):... >>> Demo() -------------------------------------- Class: Demo Memory usage: 0.000000 MB Peak memory usage: 0.000008 MB Time elapsed: 0.000001 s --------------------------------------