()
| 38 | Flowable<Integer> rangeAsyncPipeline; |
| 39 | |
| 40 | @Setup |
| 41 | public void setup() { |
| 42 | range = Flowable.range(1, times); |
| 43 | |
| 44 | rangeAsync = range.observeOn(Schedulers.single()); |
| 45 | |
| 46 | rangeAsyncPipeline = range.subscribeOn(new SingleScheduler()).observeOn(Schedulers.single()); |
| 47 | } |
| 48 | |
| 49 | @Benchmark |
| 50 | public Object rangeSync(Blackhole bh) { |
nothing calls this directly
no test coverage detected