Skip to content

Benchmark to compare the performance difference between case when checking an enum value, as compared to case when checking a string.

License

Notifications You must be signed in to change notification settings

girng/CaseWhenEnumVsCaseWhenString

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

CaseWhenEnumVsCaseWhenString

Benchmark to compare the performance difference between case when checking an enum value, as compared to case when checking a string. This is a benchmark script using https://crystal-lang.org/

Usage

  • crystal benchmark.cr --release

Current Results

Contribution

Feel free to contribute to make the benchmark better! All PRs are welcome.

Thanks for reading, and have a wonderful day!

About

Benchmark to compare the performance difference between case when checking an enum value, as compared to case when checking a string.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published