forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue ReactiveX#12 state calculation benchmark shows that most time i…
…s spending in System.nanoTime
- Loading branch information
1 parent
7fb310c
commit ceb75fe
Showing
4 changed files
with
84 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
src/jmh/java/javaslang/circuitbreaker/stateCalculationBenchmark.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Benchmark Mode Cnt Score Error Units | ||
RateLimiterBenchmark.calculateNextState avgt 10 0.101 ± 0.008 us/op | ||
RateLimiterBenchmark.currentNanoTime avgt 10 0.077 ± 0.001 us/op | ||
RateLimiterBenchmark.nanosToWaitForPermission avgt 10 0.003 ± 0.001 us/op | ||
RateLimiterBenchmark.reservePermissions avgt 10 0.007 ± 0.001 us/op |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters