Skip to content

Commit

Permalink
Create benchmark section in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
williamthome committed Aug 8, 2024
1 parent 68c1734 commit abdb789
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,34 @@ iex(1)> Exneus.encode!(%{name: "Joe Armstrong", age: 68, nationality: "British"}
iex(2)> Exneus.decode!(v(1))
%{"age" => 68, "name" => "Joe Armstrong", "nationality" => "British"}
```

## Benchmark

> - Operating System: Linux
> - CPU Information: 12th Gen Intel(R) Core(TM) i9-12900HX
> - Number of Available Cores: 24
> - Available memory: 31.09 GB
> - Elixir 1.17.2
> - Erlang 27.0.1
> - JIT enabled: true
>
> Benchmark suite executing with the following configuration:
>
> - warmup: 1 s
> - time: 10 s
> - memory time: 1 s
> - reduction time: 0 ns
> - parallel: 1
> - inputs: Blockchain
### Encode

![Encode run time](benchmark/assets/encode_run_time.png)

![Encode memory usage](benchmark/assets/encode_memory_usage.png)

### Decode

![Decode run time](benchmark/assets/decode_run_time.png)

![Decode memory usage](benchmark/assets/decode_memory_usage.png)
Binary file added benchmark/assets/decode_memory_usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added benchmark/assets/decode_run_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added benchmark/assets/encode_memory_usage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added benchmark/assets/encode_run_time.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit abdb789

Please sign in to comment.