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
  • about 8 years ago
  • December 5, 2016
License

Links
Synced at

Sun, 22 Dec 2024 00:15:04 GMT

Languages