Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OperatorFlatMapPerf.flatMapIntPassthruAsync Perf Test #3031

Merged

Commits on Jun 18, 2015

  1. Fix OperatorFlatMapPerf.flatMapIntPassthruAsync Perf Test

    This test was reported broken in ReactiveX#2928 (comment)
    
    Fixing by adding the use of LatchedObserver.
    
    Previously broken test results:
    
    ```
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync         1  thrpt         5   363615.622   115041.519    ops/s
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync      1000  thrpt         5      350.204      125.773    ops/s
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync   1000000  thrpt         5        0.319        0.184    ops/s
    ```
    
    Fixed results:
    
    ```
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync         1  thrpt         5   102109.681     8709.920    ops/s
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync      1000  thrpt         5      403.071      130.651    ops/s
    r.o.OperatorFlatMapPerf.flatMapIntPassthruAsync   1000000  thrpt         5        0.355        0.070    ops/s
    ```
    benjchristensen committed Jun 18, 2015
    Configuration menu
    Copy the full SHA
    0a0f6f7 View commit details
    Browse the repository at this point in the history