Skip to content

Scaffolding application for testing elixir and erlang 1brc implementations

Notifications You must be signed in to change notification settings

mneumann/1brc_erl_ex_test

 
 

Repository files navigation

Elixir & Erlang 1BRC Challenge Test scaffolding

tl;dr

./test_impls.sh

1BRC?

tl;dr Process a file containing 1 billion rows, you must print the result which should be ordered by the name along with the min,mean and max values.

Look at the original repo: https://github.com/gunnarmorling/1brc

And for the discussion that sparked this repo: gunnarmorling/1brc#93

Installation

git clone --recurse-submodules -j$(nproc) https://github.com/IceDragon200/1brc_erl_ex

Some implementations may require additional setup:

cd 1brc_erl_ex
./setup.sh

Running it

# This can do everything you need all at once
./test_impls.sh

But you can also run the individual tests:

# The 50 million line test is a good place to start before you jump into 1B
./test_50M_test.sh

# You can then run the big boy, beware as some implementations may require at least 12Gb of RAM
./test_1B_test.sh

About

Scaffolding application for testing elixir and erlang 1brc implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 83.9%
  • Ruby 16.1%