Skip to content
This repository has been archived by the owner on Jul 30, 2023. It is now read-only.
/ radbus Public archive

A faster, simpler, dependency-less pub-sub event bus.

License

Notifications You must be signed in to change notification settings

nevalackin/radbus

Repository files navigation

radbus

A faster, simpler, dependency-less pub-sub event bus.

Get It

Get it via JitPack:

Maven

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>io.github.nevalackin</groupId>
        <artifactId>radbus</artifactId>
        <version>1.0.0</version>
    </dependency> 
</dependencies>

Gradle

repositories {
    maven { url 'https://jitpack.io' }
}
dependencies {
    implementation 'io.github.nevalackin:radbus:1.0.0'
}

or via the prebuilt artifacts on the releases page.

Benchmark Results

Results were obtained using the JMH benchmarking framework with OpenJDK 17, the benchmark code is available in the jmh module.

Benchmark Mode Cnt Score Error Units
GlobalListenerPublishBenchmark avgt 5 4.622 ± 0.245 ms/op
GlobalSubscribeBenchmark avgt 5 61.489 ns/op
NoListenerPublishBenchmark avgt 5 1.101 ± 0.022 ms/op
PublishBenchmark avgt 5 4.757 ± 0.072 ms/op
SubscribeBenchmark avgt 5 37122.753 ± 5428.944 ns/op
SubscribeUnsubscribeBenchmark avgt 5 35792.825 ± 4918.771 ns/op

About

A faster, simpler, dependency-less pub-sub event bus.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages