# A script to compare two Macrobenchmarks runs

DevFeed: [A script to compare two Macrobenchmarks runs](<https://devfeed.tech/articles/a-script-to-compare-two-macrobenchmarks-runs-25616.md>)

Original publisher: [Read original article](<https://blog.p-y.wtf/a-script-to-compare-two-macrobenchmarks-runs>)

Author: Pierre-Yves Ricau

Published: 2023-09-07T16:36:32Z

Content type: tutorial

Language: en

Sources: [Py's blog](<https://devfeed.tech/sources/py-s-blog.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Jetpack](<https://devfeed.tech/topics/jetpack.md>), [Script](<https://devfeed.tech/topics/script.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [article](<https://devfeed.tech/tags/article.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [developers](<https://devfeed.tech/tags/developers.md>), [download](<https://devfeed.tech/tags/download.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [install](<https://devfeed.tech/tags/install.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [performance](<https://devfeed.tech/tags/performance.md>), [run](<https://devfeed.tech/tags/run.md>), [script](<https://devfeed.tech/tags/script.md>)

## AI overview

This article presents a Kotlin script for comparing the results of two Jetpack Macrobenchmark runs. It builds on a methodology using normalized distributions and confidence intervals, and explains how to install, download, make executable, and run the script.

## Source excerpt

In Statistically Rigorous Android Macrobenchmarks, I laid out a methodology for rigorously comparing the outcome of two Jetpack Macrobenchmark runs. To summarize the article: Remove sources of variations until the distribution fits a normal distribu...