---
title: "Discussion on \"Statistically Rigorous Android Macrobenchmarks\" | Hashnode"
description: "Discussion on \"Statistically Rigorous Android Macrobenchmarks\". 👋 Hi, this is P.Y., I work as an Android Engineer at Block. As we started evaluating the performance impact of software changes, I brushed up on my statistics classes, talked to industry peers, read several papers, wrote an internal doc to help us i..."
url: "https://hashnode.com/posts/statistically-rigorous-android-macrobenchmarks/645027c56094f6500196ca08"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Statistically Rigorous Android Macrobenchmarks](https://blog.p-y.wtf/statistically-rigorous-android-macrobenchmarks?utm_source=hashnode&utm_medium=feed)

👋 Hi, this is P.Y., I work as an Android Engineer at Block. As we started evaluating the performance impact of software changes, I brushed up on my statistics classes, talked to industry peers, read several papers, wrote an internal doc to help us i...

May 1, 2023 · 13 min read · blog.p-y.wtf  
Updated Sep 9, 2024  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#performance](https://hashnode.com/tag/performance)
-   [#benchmark](https://hashnode.com/tag/benchmark)
-   [#statistics](https://hashnode.com/tag/statistics)
-   [#macrobenchmark](https://hashnode.com/tag/macrobenchmark)

## Written by

[Pierre-Yves Ricau](https://hashnode.com/@py)

@py · San Francisco

  
[View profile](https://hashnode.com/@py)

Deep dives

My pronouns are he / him. Android Engineer at Square / Block. A few things I enjoy: Publishing Open Source libraries (LeakCanary, Curtains, Radiography, square/logcat) Rollerblading Writing technical blogs (previously on dev.to/pyricau) Cooking Giving tech talks Reading sci-fi

## Responses 3

Markdown supported · ⌘↵ to post

[Madona S Wambua](https://hashnode.com/@madona)

[Feb 25, 2025](https://hashnode.com/posts/statistically-rigorous-android-macrobenchmarks/645027c56094f6500196ca08/comment/67bdcd1114bc517dcdbf6b94)

This is a well written article, thanks for sharing.

[Francisco Visintini](https://hashnode.com/@franvis7)

[Sep 11, 2023](https://hashnode.com/posts/statistically-rigorous-android-macrobenchmarks/645027c56094f6500196ca08/comment/64feff9a703e32bdbc1d058a)

Really nice article, very helpful! I have one question: where does the 30 iterations number comes from in the "Confidence interval for a difference between 2 means" section? Thanks!

[david ibukun](https://hashnode.com/@Kufo2018)

[May 8, 2023](https://hashnode.com/posts/statistically-rigorous-android-macrobenchmarks/645027c56094f6500196ca08/comment/6459065249a8ff3f1d35e9f6)

Thanks for writing this article. I have been using the benchmark library for a few weeks now and wondering how best to interprete the "before" and "after" results. I did not think to statistically analyse my iterations- this article has given me lots to consider.
