backtrace-android icon indicating copy to clipboard operation
backtrace-android copied to clipboard

Backtrace data models serialization optimization

Open BartoszLitwiniuk opened this issue 1 year ago • 3 comments

Summary

This PR introduces a comprehensive refactor of the Backtrace data models in the Android SDK. The key objectives are to enhance code maintainability, improve serialization/deserialization processes, and ensure robust unit testing.

Key Changes

  • Refactored existing data models for clarity and performance.
  • Improved serialization and deserialization mechanisms.
  • Added new unit tests to increase code coverage.
  • Removed deprecated and unused code.
  • Enhanced documentation and code comments for better readability.
  • Added final keyword in multiple places to emphasize immutability, for safety and to improve performance

Impact

This change affect all models which we are serializing and deserializing. This refactor aims to optimize performance and reliability while simplifying future development and debugging processes.

Ref: BT-2922

BartoszLitwiniuk avatar Aug 13 '24 19:08 BartoszLitwiniuk

Hey @BartoszLitwiniuk can we rebase and fix tests?

konraddysput avatar Aug 14 '24 14:08 konraddysput

Hey @BartoszLitwiniuk can we rebase and fix tests?

sure, done.

BartoszLitwiniuk avatar Aug 20 '24 20:08 BartoszLitwiniuk

I have to review how to minimize impact on exposed public API

BartoszLitwiniuk avatar Sep 03 '24 20:09 BartoszLitwiniuk