ElixirConf 2019: High Performance String Processing Scripts in Elixir - Johanna Larsson

by @jola

Can you write a performant string processing scripts in Elixir? This talk attempts to answer that question while incrementally optimizing a simple implementation of a script, introducing many interesting parts of Elixir on the way, including ETS, iolists, compiled binary patterns, and concurrency. With a little bit of knowledge, we end up with a 10x speedup over the original implementation, and Elixir becomes a viable and performant scripting language, and this also carries over into most data processing tasks.

But what are the risks and trade-offs when optimizing, and how do you do it in a productive way?

And here’s a link to the forum post related to the talk: Erlang/Elixir string performance - can this be improved? - #39 by jola

View all threads tagged with performance
View all elixirconf2019 talks

5 Likes

Great talk @jola!

It was fantastic following the journey seeing it get down to 7 seconds - second only to C at 4 seconds! Well done :023:

Also thank you for the reminder of Joe’s quote:

07

:orange_heart:

5 Likes

Agreed, one of my favourites so far. I really enjoyed the incremental nature of the improvements, super fun and educational.

3 Likes