Skip to content

Commit d903e96

Browse files
committed
bamps versions
Signed-off-by: Oleh Dokuka <[email protected]>
1 parent 5683e22 commit d903e96

File tree

5 files changed

+15
-61
lines changed

5 files changed

+15
-61
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ repositories {
2626
mavenCentral()
2727
}
2828
dependencies {
29-
implementation 'io.rsocket:rsocket-core:1.0.0-RC7'
30-
implementation 'io.rsocket:rsocket-transport-netty:1.0.0-RC7'
29+
implementation 'io.rsocket:rsocket-core:1.0.0'
30+
implementation 'io.rsocket:rsocket-transport-netty:1.0.0'
3131
}
3232
```
3333

@@ -40,8 +40,8 @@ repositories {
4040
maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
4141
}
4242
dependencies {
43-
implementation 'io.rsocket:rsocket-core:1.0.0-RC8-SNAPSHOT'
44-
implementation 'io.rsocket:rsocket-transport-netty:1.0.0-RC8-SNAPSHOT'
43+
implementation 'io.rsocket:rsocket-core:1.0.1-SNAPSHOT'
44+
implementation 'io.rsocket:rsocket-transport-netty:1.0.1-SNAPSHOT'
4545
}
4646
```
4747

benchmarks/src/main/java/io/rsocket/frame/FrameHeaderFlyweightPerf.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ public class FrameHeaderFlyweightPerf {
1616

1717
@Benchmark
1818
public void encode(Input input) {
19-
ByteBuf byteBuf = FrameHeaderFlyweight.encodeStreamZero(input.allocator, FrameType.SETUP, 0);
19+
ByteBuf byteBuf = FrameHeaderCodec.encodeStreamZero(input.allocator, FrameType.SETUP, 0);
2020
boolean release = byteBuf.release();
2121
input.bh.consume(release);
2222
}
2323

2424
@Benchmark
2525
public void decode(Input input) {
2626
ByteBuf frame = input.frame;
27-
FrameType frameType = FrameHeaderFlyweight.frameType(frame);
28-
int streamId = FrameHeaderFlyweight.streamId(frame);
29-
int flags = FrameHeaderFlyweight.flags(frame);
27+
FrameType frameType = FrameHeaderCodec.frameType(frame);
28+
int streamId = FrameHeaderCodec.streamId(frame);
29+
int flags = FrameHeaderCodec.flags(frame);
3030
input.bh.consume(streamId);
3131
input.bh.consume(flags);
3232
input.bh.consume(frameType);
@@ -44,7 +44,7 @@ public void setup(Blackhole bh) {
4444
this.bh = bh;
4545
this.frameType = FrameType.REQUEST_RESPONSE;
4646
allocator = ByteBufAllocator.DEFAULT;
47-
frame = FrameHeaderFlyweight.encode(allocator, 123, FrameType.SETUP, 0);
47+
frame = FrameHeaderCodec.encode(allocator, 123, FrameType.SETUP, 0);
4848
}
4949

5050
@TearDown

benchmarks/src/main/java/io/rsocket/frame/PayloadFlyweightPerf.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class PayloadFlyweightPerf {
1818
@Benchmark
1919
public void encode(Input input) {
2020
ByteBuf encode =
21-
PayloadFrameFlyweight.encode(
21+
PayloadFrameCodec.encode(
2222
input.allocator,
2323
100,
2424
false,
@@ -33,8 +33,8 @@ public void encode(Input input) {
3333
@Benchmark
3434
public void decode(Input input) {
3535
ByteBuf frame = input.payload;
36-
ByteBuf data = PayloadFrameFlyweight.data(frame);
37-
ByteBuf metadata = PayloadFrameFlyweight.metadata(frame);
36+
ByteBuf data = PayloadFrameCodec.data(frame);
37+
ByteBuf metadata = PayloadFrameCodec.metadata(frame);
3838
input.bh.consume(data);
3939
input.bh.consume(metadata);
4040
}
@@ -57,7 +57,7 @@ public void setup(Blackhole bh) {
5757
// Encode a payload and then copy it a single bytebuf
5858
payload = allocator.buffer();
5959
ByteBuf encode =
60-
PayloadFrameFlyweight.encode(
60+
PayloadFrameCodec.encode(
6161
allocator,
6262
100,
6363
false,

benchmarks/src/main/java/io/rsocket/internal/UnicastVsDefaultMonoProcessorPerf.java

Lines changed: 0 additions & 46 deletions
This file was deleted.

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
# See the License for the specific language governing permissions and
1212
# limitations under the License.
1313
#
14-
version=1.0.0
15-
perfBaselineVersion=1.0.0-RC7
14+
version=1.0.1
15+
perfBaselineVersion=1.0.0

0 commit comments

Comments
 (0)