Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 833 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 833 Bytes

Benchmark

This is a standalone Android Studio project to benchmark performance.

Running the tests

You can run the tests from Android Studio by clicking the "run" icon in the gutter. This will print the results in the Run window of Android Studio.

For the command line, use:

# macrobenchmarks
./gradlew -p benchmark :macrobenchmark:connectedBenchmarkAndroidTest 

# microbenchmarks
./gradlew -p benchmark :microbenchmark:benchmarkReport

Inspiration

The largesample Json parsing data is taken from https://zacsweers.github.io/json-serialization-benchmarking/. The calendar_response data was provided by @sebj and is a real-life use case. The tracks data is inspired by the Deezer API.

Current results:

You can get the current results at #4231