https://github.com/overminddl1/ex_parsing_benchmark
https://github.com/overminddl1/ex_parsing_benchmark
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/overminddl1/ex_parsing_benchmark
- Owner: OvermindDL1
- Created: 2017-02-08T00:45:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-09T21:26:40.000Z (over 9 years ago)
- Last Synced: 2025-01-21T18:51:31.134Z (over 1 year ago)
- Language: Elixir
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ExParsingBenchmark
Benchmark testing between various Elixir parsing libraries
## Installation
Clone this repository. :-)
## Running
Run:
```sh
mix deps.get
mix bench
```
Example output of the bench:
```elixir
##### With input parse_datetime #####
Name ips average deviation median
ex_spirit 195.62 K 5.11 μs ±15.99% 4.70 μs
combine 62.02 K 16.12 μs ±41.23% 16.00 μs
Comparison:
ex_spirit 195.62 K
combine 62.02 K - 3.15x slower
##### With input parse_int_10 #####
Name ips average deviation median
ex_spirit 633.29 K 1.58 μs ±25.00% 1.60 μs
combine 164.10 K 6.09 μs ±12.04% 6.20 μs
Comparison:
ex_spirit 633.29 K
combine 164.10 K - 3.86x slower
```