增加可选性能埋点并完成物性效率评估
This commit is contained in:
1 parent
4e0b9fd8cc
commit
57b459bc72
21 files changed
+2029
-179
No files matched your search
@@ -1,6 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from app.simulation.core.errors import RecoverableTrialStateError
|
||||
from app.simulation.performance import profile_phase
|
||||
|
||||
import math
|
||||
from dataclasses import dataclass
|
||||
@@ -1018,6 +1019,7 @@ def _integrate_scipy_stepwise(
|
||||
)
|
||||
|
||||
|
||||
@profile_phase("simulation.integration")
|
||||
def integrate_ode(
|
||||
rhs: Callable[[float, list[float]], list[float]],
|
||||
initial_state: list[float],
|
||||
|
||||
Reference in new issue
Block a user