diff --git a/dbux-common-node/src/filters/moduleFilter.js b/dbux-common-node/src/filters/moduleFilter.js index 659dfc991..444eeaf94 100644 --- a/dbux-common-node/src/filters/moduleFilter.js +++ b/dbux-common-node/src/filters/moduleFilter.js @@ -6,8 +6,8 @@ import { parsePackageName } from '../util/moduleUtil'; // import { requireDynamic } from '../util/requireUtil'; let Verbose; -// const DefaultVerbose = 1; -const DefaultVerbose = 2; +const DefaultVerbose = 1; +// const DefaultVerbose = 2; // const DefaultVerbose = 10; function debugLog(...args) { diff --git a/dbux-graph-host/src/graph/syncGraph/ContextNode.js b/dbux-graph-host/src/graph/syncGraph/ContextNode.js index aa9852def..cc75cb151 100644 --- a/dbux-graph-host/src/graph/syncGraph/ContextNode.js +++ b/dbux-graph-host/src/graph/syncGraph/ContextNode.js @@ -107,6 +107,27 @@ class ContextNode extends HostComponentEndpoint { // stats // ######################################## + get nTreeContexts() { + const stats = this.dp.queries.statsByContext(this.contextId); + return stats?.nTreeContexts || 0; + } + + get nTreeStaticContexts() { + const stats = this.dp.queries.statsByContext(this.contextId); + return stats?.nTreeStaticContexts || 0; + } + + //get amount of file call + get nTreeFileCalled() { + const state = this.dp.queries.statsByContext(this.contextId); + return state?.nTreeFileCalled || 0; + } + + get nTreeTraces() { + const stats = this.dp.queries.statsByContext(this.contextId); + return stats?.nTreeTraces || 0; + } + setStatsEnabled(enabled) { const upd = { statsEnabled: enabled