tools / Exports / PerformanceMetrics
Interface: PerformanceMetrics
Performance metrics interface
Table of contents
Properties
- toolCallCount
- averageCallTime
- maxCallTime
- minCallTime
- successfulCalls
- failedCalls
- successRate
- throughput
- memoryUsage
- cacheMetrics
- lazyLoadMetrics
- resourceMetrics
Properties
toolCallCount
• toolCallCount: number
Tool call count
Defined in
packages/tools/src/performance/performance-monitor.ts:18
averageCallTime
• averageCallTime: number
Average tool call time (milliseconds)
Defined in
packages/tools/src/performance/performance-monitor.ts:20
maxCallTime
• maxCallTime: number
Maximum tool call time (milliseconds)
Defined in
packages/tools/src/performance/performance-monitor.ts:22
minCallTime
• minCallTime: number
Minimum tool call time (milliseconds)
Defined in
packages/tools/src/performance/performance-monitor.ts:24
successfulCalls
• successfulCalls: number
Successful calls count
Defined in
packages/tools/src/performance/performance-monitor.ts:26
failedCalls
• failedCalls: number
Failed calls count
Defined in
packages/tools/src/performance/performance-monitor.ts:28
successRate
• successRate: number
Success rate (0-1)
Defined in
packages/tools/src/performance/performance-monitor.ts:30
throughput
• throughput: number
Throughput (TPS - Transactions Per Second)
Defined in
packages/tools/src/performance/performance-monitor.ts:32
memoryUsage
• memoryUsage: MemoryUsageMetrics
Memory usage statistics
Defined in
packages/tools/src/performance/performance-monitor.ts:34
cacheMetrics
• cacheMetrics: null
| CacheStats
Cache performance statistics
Defined in
packages/tools/src/performance/performance-monitor.ts:36
lazyLoadMetrics
• lazyLoadMetrics: null
| LazyLoadStats
Lazy loading statistics
Defined in
packages/tools/src/performance/performance-monitor.ts:38
resourceMetrics
• resourceMetrics: null
| ResourceStats
Resource management statistics