# How to benchmark an Erlang application to test performance?

**URL:** <https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262>\
**Category:** Questions / Help\
**Tags:** erlang-otp\
**Created:** [March 28, 2022, 1:44pm UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262 "2022-03-28T13:44:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abdelghani](https://erlangforums.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@Abdelghani](https://erlangforums.com/u/Abdelghani)\
**Post date:** [March 28, 2022, 1:44pm UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262/1 "2022-03-28T13:44:46Z")

</div>

Hello, I have a simple question : how to benchmark an Erlang Application and test it’s performance (CPU using, RAM,…)? does it done by the OS or by the ERTS itself ?

---

<div class="post-metadata">

**Author:** ![mickel8](https://erlangforums.com/user_avatar/erlangforums.com/mickel8/32/2064_2.png) [@mickel8](https://erlangforums.com/u/mickel8)\
**Post date:** [March 29, 2022, 10:13am UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262/2 "2022-03-29T10:13:14Z")

</div>

Hi,

you can try to use [Beamchmark](https://github.com/membraneframework/beamchmark).

Another way is to run observer.

---

<div class="post-metadata">

**Author:** ![Abdelghani](https://erlangforums.com/letter_avatar_proxy/v4/letter/a/49beb7/32.png) [@Abdelghani](https://erlangforums.com/u/Abdelghani)\
**Post date:** [March 30, 2022, 1:43pm UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262/3 "2022-03-30T13:43:14Z")

</div>

Thank you @mickel8 I will try this

---

<div class="post-metadata">

**Author:** ![williamthome](https://erlangforums.com/user_avatar/erlangforums.com/williamthome/32/471_2.png) [@williamthome](https://erlangforums.com/u/williamthome)\
**Post date:** [April 10, 2022, 4:23pm UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262/4 "2022-04-10T16:23:06Z")

</div>

You can use [erlperf](https://github.com/max-au/erlperf) by @max-au

---

<div class="post-metadata">

**Author:** ![PragTob](https://erlangforums.com/user_avatar/erlangforums.com/pragtob/32/1360_2.png) [@PragTob](https://erlangforums.com/u/PragTob)\
**Post date:** [April 13, 2022, 7:46pm UTC](https://erlangforums.com/t/how-to-benchmark-an-erlang-application-to-test-performance/1262/5 "2022-04-13T19:46:15Z")

</div>

You can also use [Benchee](https://github.com/bencheeorg/benchee/) - although I probably have to update the usage from erlang docs - as it is written in elixir.
