summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/utils/jsonutil.py
diff options
context:
space:
mode:
authorijon <[email protected]>2026-06-02 22:18:18 +0300
committerGitHub <[email protected]>2026-06-02 19:18:18 +0000
commit7a8d955375903345206862e3c54c03290005884d (patch)
treee296e2ac7d68a32ee14fb2e2eddb32fd0ed06115 /contrib/python/ipython/py3/IPython/utils/jsonutil.py
parent868bb7a5b3ee7752457d82e4de7a1ef61f2c195d (diff)
schemeshard: measure TTableInfo::VerifyConsistency() time (#42201)
Add a cumulative counter (TablePartitionsConsistencyCheckTimeNs) accumulating the nanoseconds spent in TTableInfo::VerifyConsistency(), so the O(N) check's production cost is observable. VerifyConsistency: time the body with THPTimer into the new mutable LastVerifyConsistencyTime. Gate the whole check behind the new EnableTablePartitionsConsistencyCheck feature flag (default on); when off, return early and reset LastVerifyConsistencyTime to 0. The partitioning calls that run the check — SetPartitioning, MovePartitioning, CopyPartitioning, ApplySplitMerge, and move_table — increment the counter by LastVerifyConsistencyTime afterwards.
Diffstat (limited to 'contrib/python/ipython/py3/IPython/utils/jsonutil.py')
0 files changed, 0 insertions, 0 deletions