Karoly Lorentey
|
d751b83054
|
[benchmark][SR-3106] Add benchmarks implementing Observers four different ways
These benchmarks highlight optimization opportunities in the implementation
of partially applied methods and escaping closures.
# TEST SAMPLES MIN(μs) MAX(μs) MEAN(μs) SD(μs) MEDIAN(μs) MAX_RSS(B)
97 ObserverClosure 10 2547 2752 2599 0 2599 308317798
98 ObserverForwarderStruct 10 1345 1972 1480 0 1480 614535987
99 ObserverPartiallyAppliedMethod 10 3953 4194 4049 0 4049 267670733
100 ObserverUnappliedMethod 10 2990 3482 3093 0 3093 338796544
|
2016-11-01 22:27:08 +01:00 |
|