We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Using Benchee for Microbenchmarking in Elixir
222
clicks
Source: youtube.com
In this video, Christian Alexander provides an informative guide on utilizing Benchee, a commonly used microbenchmarking package in Elixir and Erlang. The video covers various practical examples for benchmarking, from JSON encoding/decoding to different sorting algorithms and applications such as Advent of Code solutions. It starts with an introduction to what benchmarks are and their significance in software optimization. The video then demonstrates how to use Benchee, covering its configuration and the metrics it provides beyond just execution time, including memory and reduction counts. Viewers can learn how to benchmark different JSON libraries, how to adapt benchmarks based on OTP versions, and even use Livebook for interactive benchmarking sessions. The video also touches on using Benchee outside of Livebook, such as during coding challenges like Advent of Code. Overall, the content is geared towards programmers looking to optimize their code performance using Benchee.
Related posts
© HashMerge 2024