-
Notifications
You must be signed in to change notification settings - Fork 668
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
[IO-698] add Unsynchronized version of UnsynchronizedBufferedInputStream and UnsynchronizedBufferedInputStream, and performance tests. #184
Conversation
Detailed performance tests results: https://pastebin.ubuntu.com/p/TtDxYw4WVG/ |
Something is not quite right with this set up because the output starts with:
instead of Am I reading these results right? |
src/main/java/org/apache/commons/io/input/buffer/UnsynchronizedBufferedInputStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/commons/io/input/buffer/UnsynchronizedBufferedInputStream.java
Outdated
Show resolved
Hide resolved
src/main/java/org/apache/commons/io/input/buffer/UnsynchronizedBufferedReader.java
Show resolved
Hide resolved
src/test/java/org/apache/commons/io/performance/IOUtilsContentEqualsPerformanceTest.java
Show resolved
Hide resolved
src/test/java/org/apache/commons/io/performance/IOUtilsContentEqualsPerformanceTest.java
Outdated
Show resolved
Hide resolved
bd9fd8a
to
7b61fb2
Compare
7b61fb2
to
0a96e61
Compare
because the original pr is done when 2.7.0-SNAPSHOT, and delayed to now :) |
…nsynchronizedBufferedInputStream, and performance tests. exec-maven-plugin.version to 3.0.0 Don't initialize values to their defaults. It would simpler to validate this test if it was factored in such a way that a worker method was given a stream such that its called can call it with a constructed object, once for the JRE stream, another with the custom stream.A "2" postfix for a method name says nothing about why its different from the plain method name. Please give it a name that better describes what you are testing.
3fd2774
to
36749e7
Compare
@garydgregory rerun performance tests: seems no significant performance improvement in this two classes (comparing with sync ones in original jdk). |
@arturobernalg |
@garydgregory seems so. |
@arturobernalg |
@garydgregory Yep, so maybe I should close this pr and migrate [IO-670] to use the version in jdk. |
No description provided.