Skip to content

feat: Enhance visualizer with custom themes, heap tracking, and call …#2

Open
DevaVirathan wants to merge 6 commits into
mainfrom
feat/videoGeneration
Open

feat: Enhance visualizer with custom themes, heap tracking, and call …#2
DevaVirathan wants to merge 6 commits into
mainfrom
feat/videoGeneration

Conversation

@DevaVirathan

Copy link
Copy Markdown
Owner

…stack display

  • Added support for registering custom themes and retrieving them.
  • Enhanced the Visualizer class to display heap objects and call stacks in both rich and simple formats.
  • Updated ExecutionStep and ExecutionTrace models to include heap objects, call stack, loop iteration, and performance timing.
  • Introduced new step types: context enter, context exit, yield, yield from, and await.
  • Implemented tests for new features including heap tracking, call stack tracking, and custom themes.
  • Improved export functionality for HTML and Markdown to include additional details.

…stack display

- Added support for registering custom themes and retrieving them.
- Enhanced the Visualizer class to display heap objects and call stacks in both rich and simple formats.
- Updated ExecutionStep and ExecutionTrace models to include heap objects, call stack, loop iteration, and performance timing.
- Introduced new step types: context enter, context exit, yield, yield from, and await.
- Implemented tests for new features including heap tracking, call stack tracking, and custom themes.
- Improved export functionality for HTML and Markdown to include additional details.
@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

- Cleaned up docstrings in visualizer.py and test files for uniformity.
- Removed unnecessary imports and organized import statements.
- Enhanced readability by adjusting formatting and spacing in visualizer methods.
- Updated test cases in test_core.py, test_exporter.py, test_new_features.py, test_tracer.py, and test_visualizer.py for consistency and clarity.
- Ensured all tests follow a consistent style and structure.
- Improved assertions and added comments for better understanding of test cases.
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.

2 participants