Package org.agilewiki.jactor.events

The events package supports the dispatching of one-way messages (events).

See: Description

Package org.agilewiki.jactor.events Description

The events package supports the dispatching of one-way messages (events).

A simple echo test takes 123 nanoseconds to send a message when running with a single thread and 252 nanoseconds when running with multiple threads.

A dual echo test takes 113 nanoseconds to send a message when running with a single thread, 210 nanoseconds when running with 2 threads, 223 nanoseconds when running with 4 threads and 225 nanoseconds when running with 8 threads.

Tests were done on an Intel Core i5 CPU M 540 @ 2.53GHz, which has 4 hardware threads. The times reported were best run in 5.

Copyright © 2012. All Rights Reserved.