Sha256: 99bbeecd88798addd60c47ae716ea564f05d33dc32d58b90e2d1bb0c145ce117
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
# So, it's better to avoid building pattern match in runtime > bundle exec rake perf:fear:pattern_matching_construction_vs_execution ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23] Warming up -------------------------------------- construction 53.068k i/100ms execution 280.541k i/100ms Calculating ------------------------------------- construction 537.049k (± 0.2%) i/s - 2.706M in 5.039544s execution 2.799M (± 0.4%) i/s - 14.027M in 5.011175s Comparison: execution: 2799195.6 i/s construction: 537049.0 i/s - 5.21x slower
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fear-3.0.0 | benchmarks/fear_pattern_matching_construction_vs_execution.txt |