Skip to content

πŸš€ v0.0.6 - Performance Optimizations

Latest

Choose a tag to compare

@parsapanahpoor parsapanahpoor released this 17 Dec 00:05
· 10 commits to main since this release

JsonViewer.Blazor v0.0.6

This release includes performance improvements and minor optimizations.


πŸ”§ Performance Optimizations

⚑ Improved Memory Management in JsonPathDisplay

  • CancellationToken Integration: Using CancellationTokenSource for better async operation management
  • Memory Leak Prevention: Prevents memory leaks when quickly closing the modal
  • Better Resource Management: Improved resource management by disposing CancellationTokenSource

πŸ“ Improved TruncateValue Performance

  • Modern C# Features: Using Span<char> and AsSpan() for better performance
  • Optimized String Operations: Improved performance for large strings using string.Concat instead of Substring

πŸ“‹ Technical Changes

Components Modified

  • JsonPathDisplay.razor: Improved async operations management and string operations performance

Performance Improvements

  • Reduced memory usage in copy path operations
  • Improved truncate speed for long values

πŸ“¦ Installation

dotnet add package JsonViewer.Blazor --version 0.0.6

πŸ“ Notes

  • This release focuses primarily on performance and optimization improvements
  • All previous features remain unchanged