Рет қаралды 977
Benchee is a common microbenchmarking package used in Elixir and Erlang to measure the performance characteristics of functions.
In this video, I show how to use Benchee with real examples-from the new OTP 27 JSON support to sorting algorithms and even Advent of Code solutions.
Links
Livebook Code: gist.github.com/ChristianAlex...
Screen recording software I use (affiliate): screen.studio/@Yy75o
Benchee configuration options: hexdocs.pm/benchee/Benchee.Co...
Timestamps
Context - 0:00
What are Benchmarks? - 0:32
Introducing Benchee - 1:15
Benchmarking JSON Encoding - 2:21
Benchmarking JSON Decoding - 4:56
More Metrics - 5:57
Benchmarking Sort Algorithms - 7:50
Not Just for Livebook - 9:50
Summary - 10:46