Commit Graph

5 Commits

Author SHA1 Message Date
Nikita Shilnikov 8f9a5118c9
Remove redundant requires 2022-10-15 13:30:20 +03:00
Tim Riley ddccb0e511
Add benchmark for Config#to_h (#152)
This gives a good indication of overall config read performance
2022-10-12 20:57:08 +11:00
Tim Riley a0c245dbef
Add memory profiler 2022-10-09 09:04:21 +11:00
Tim Riley 71ae1e30e9 Move requires to top of benchmark
This should focus the benchmark on the memory implications of class definition only, not the initial requires
2022-08-24 22:14:26 +10:00
Tim Riley a7cec82081
Add memory usage benchmark (#137)
This compares the memory cost of inheritance from the following superclasses:

- dry-configurable using two top-level settings
- dry-configurable using the same two settings, just nested one level deeper
- dry-core class attributes
- hanami-utils class attributes
- a plain old Ruby class, serving as a "control" for the benchmark
2022-08-24 22:03:22 +10:00