crystal-nil-vs-null-object

Nil vs Null Object benchmark (execution speed & output binary size)

Nil vs Null Object pattern Crystal benchmark

There are two directories: class and struct, one contains a test using Classes and another one using Structs.

Run ips_benchmark.cr to run an Instructions Per Second benchmark on both tests.
Run size_benchmark.cr to run an output binary size benchmark on both tests.

Repository

crystal-nil-vs-null-object

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • almost 8 years ago
  • December 5, 2016
License

Links
Synced at

Fri, 22 Nov 2024 09:21:45 GMT

Languages