Skip to content

Instantly share code, notes, and snippets.

@reisenberger
Last active April 11, 2016 22:21
Show Gist options
  • Save reisenberger/a6fab34402731333a61600dc0f06d7b0 to your computer and use it in GitHub Desktop.
Save reisenberger/a6fab34402731333a61600dc0f06d7b0 to your computer and use it in GitHub Desktop.
CircuitBreakerTimingTests - output
Iterations per test: 100000
================
Empty delegates only
----------------
Total ticks : 0000005934
Per 100 iterations ticks : 0000000005
Per iteration ticks : 0000000000
================
Original CircuitBreaker wrapping empty delegates only
----------------
Total ticks : 0000143955
Per 100 iterations ticks : 0000000143
Per iteration ticks : 0000000001
================
Additional from Original CircuitBreaker wrapping empty
----------------
Total ticks : 0000138021
Per 100 iterations ticks : 0000000138
Per iteration ticks : 0000000001
================
10 good 10 bad, no CircuitBreaker
----------------
Total ticks : 0001429174
Per 100 iterations ticks : 0000001429
Per iteration ticks : 0000000014
================
Original CircuitBreaker wrapping 10 good, 10 bad
----------------
Total ticks : 0003461565
Per 100 iterations ticks : 0000003461
Per iteration ticks : 0000000034
================
Additional from breaker managing exceptions, and breaking every 10 exceptions
----------------
Total ticks : 0002032391
Per 100 iterations ticks : 0000002032
Per iteration ticks : 0000000020
================
TimesliceCircuitBreaker wrapping 10 good, 10 bad
----------------
Total ticks : 0003556162
Per 100 iterations ticks : 0000003556
Per iteration ticks : 0000000035
================
Additional from TimesliceCircuitBreaker managing exceptions, and breaking every 10 exceptions
----------------
Total ticks : 0002126988
Per 100 iterations ticks : 0000002126
Per iteration ticks : 0000000021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment