Incoming long post about Elixir sub binary pattern matching!

I need to drastically improve the performance issues with my Elixir JSON library so that it can work for more use cases and maybe gain some more popularity.

You can see how bad it is here: Benchmark Results

One thing I will not do is sacrifice code quality for speed.

PRO TIP: when running benchmarks and you are using the elixir standard Logger lib, you should put the following in your config file:

config :logger, compile_time_purge_level: :debug

This makes the compiler remove all Logger calls at compile time, saving you a lot of headaches.

You can follow progress here: https://github.com/cblage/elixir-json/pull/52

Over and out,

Carlos

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s