Skip to content

fix: address #1180, #1181 - #1207

Merged
Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
Helix-xi:drips/1180-1181
Oct 21, 2026
Merged

Kingsman-99 merged 3 commits into
Stellar-split:mainfrom
Helix-xi:drips/1180-1181

Conversation

@Helix-xi

Copy link
Copy Markdown
Contributor

Summary

fix: address #1180, #1181

What was solved

#1180 — Implement debug mode with verbose output

Add a debug mode with configurable verbosity levels, verbose operation logging, debug breakpoints, debug utilities, an interactive debug console, and debug analytics. The issue is broad and touches cross-cutting SDK concerns; a focused implementation should introduce a small debug module (levels, logger, breakpoints, utilities, console, analytics) and wire it into the existing SDK surface without refactoring unrelated code.

Addressed:

  • Changed: src/analyticsTracking.ts, src/tests/sdkFeatures.test.ts
  • Design and implement debug levels (e.g., off/error/warn/info/debug/trace) with a configurable threshold
  • Implement verbose logging that emits detailed operation logs gated by the active debug level
  • Add debug breakpoints that can pause/flag execution at named points when debug mode is enabled

#1181 — Add profiling tools for performance analysis

Add a profiling toolkit to the SDK covering CPU profiling, memory profiling, flame graph generation, call tracing, profile export, and a profile viewer. The repo already has an examples/profile-session.ts hinting at a profiling surface, so the contribution should introduce a focused profiling module (likely under src/) plus a viewer/export helper, keeping scope to profiling only and not touching unrelated SDK features.

Addressed:

  • Changed: src/profileViewer.ts
  • Implement CPU profiling (sampling of hot code paths)
  • Add memory profiling (heap/usage tracking)
  • Create flame graphs from collected samples

Changes

  • src/analyticsTracking.ts (modify)
  • src/__tests__/sdkFeatures.test.ts (modify)
  • src/profileViewer.ts (create)

Approach

  1. Implement debug mode with verbose output #1180 — Implement debug mode with verbose output (Changed: src/analyticsTracking.ts, src/tests/sdkFeatures.test.ts)
  2. Add profiling tools for performance analysis #1181 — Add profiling tools for performance analysis (Changed: src/profileViewer.ts)

Issues

Closes #1180
Closes #1181

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@Helix-xi Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit 4a1e37f into Stellar-split:main Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add profiling tools for performance analysis Implement debug mode with verbose output

2 participants