Skip to content

Latest commit

 

History

History
151 lines (121 loc) · 3.8 KB

ls_bench.md

File metadata and controls

151 lines (121 loc) · 3.8 KB

Benchmark GlobEx.ls/1

Comparing GlobEx.ls/1 with Path.wildcard/2.

System

Benchmark suite executing on the following system:

Operating System macOS
CPU Information Apple M1
Number of Available Cores 8
Available Memory 16 GB
Elixir Version 1.17.2
Erlang Version 27.0.1

Configuration

Benchmark suite executing with the following configuration:

:time 10 s
:parallel 1
:warmup 2 s

Statistics

Input: {lib,test}/**/*.{ex,exs}

Run Time

Name IPS Average Devitation Median 99th %
GlobEx.ls/1 79.47 12.58 ms ±15.29% 12.34 ms 18.18 ms
Path.wildcard/2 71.93 13.90 ms ±21.61% 13.50 ms 20.29 ms

Run Time Comparison

Name IPS Slower
GlobEx.ls/1 79.47  
Path.wildcard/2 71.93 1.1x

Memory Usage

Name Average Factor
GlobEx.ls/1 4.23 MB  
Path.wildcard/2 5.18 MB 1.23x

Reduction Count

Name Average Factor
GlobEx.ls/1 379.84 K  
Path.wildcard/2 615.33 K 1.62x