Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jpedroschmitz/reports-generator

Elixir module that processes large CSV files with Elixir Streams and generates reports based on the data.
https://github.com/jpedroschmitz/reports-generator

elixir elixir-lang parallelism

Last synced: 21 days ago
JSON representation

Elixir module that processes large CSV files with Elixir Streams and generates reports based on the data.

Awesome Lists containing this project

README

        



# Reports Generator

Elixir algorithm exercise that processes large CSV files with Elixir Streams and generates reports based on the data.

## Measuring runtime:

**Normal version:**

```elixir
:timer.tc(fn -> ReportsGenerator.build("report_complete.csv") end)
```

**Parallel version:**

```elixir
:timer.tc(fn -> ReportsGenerator.build_from_many(["report_1.csv", "report_2.csv", "report_3.csv"]) end)
```