Snippet is an extensible android library to measure execution times of the code sections in a way that does not compromise with the readability and can be shipped to production without any additional setup. New behaviours can be added in the library by extending Execution paths. 2 execution paths provided with the library are: - MeasuredExecutionPath - The code path the does the measurement code spans - ReleaseExecutionPath - A no-op path (default path) that is usually installed in the release variants.
Features:
- Easy to integrate and configure
- Switch behavior depending on build type
- Reduces boiler plate
- Data reuse
- Makes PR reviews more quantitative
- APK size impact of 23KB
- Designed to be thread safe & null safe
- Rich API
- Fully documented, just run java docs!
from The Android Arsenal
No comments:
Post a Comment