Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.19 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.19 KB

Build

1 Billion Row Challenge

Erlang implementation of the One Billion Row Challenge

This is included in the set of Elixir/Erlang implementations discussed here: gunnarmorling/1brc#93.

Usage

Running PropEr test:
rebar3 as test eunit
rebar3 as test ct
Running test implementation

First prepare the measurements files as per instructions found here

Then simply run:

# For Linux
erlc -W src/*erl && time -v erl +SDio 1 +SDPcpu 50 +sbwt none +sbwtdio none -noshell -s brc run "./measurements.txt" -s init stop  2>&1

# For OSX
erlc -W src/*erl && gtime -v erl +SDio 1 +SDPcpu 50 +sbwt none +sbwtdio none -noshell -s brc run "./measurements.txt" -s init stop  2>&1

Results

Results for 1BRC

On Mac M1 Pro:

Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.99
Results for 1BRC with 10k keys

On Mac M1 Pro:

Elapsed (wall clock) time (h:mm:ss or m:ss): 0:16.05