Skip to content

Instantly share code, notes, and snippets.

@alphazero
Created January 29, 2012 04:59
Show Gist options
  • Save alphazero/1697275 to your computer and use it in GitHub Desktop.
Save alphazero/1697275 to your computer and use it in GitHub Desktop.
Summary - Comparing 4 queues in a 1:1 Cons/Prod in tight loop for fairly long runs - incremental metrics and updated QItem gen
Notes:
- See https://gist.github.com/1697257 for incremental metrics
- 1 Run only
[ TOTAL] bytes: 12500992000 | delta:115914855000 nsec | Bps: 107846333 | wps: 13480792 {LinkedBlockingQueue}
[ TOTAL] bytes: 12500992000 | delta:115579359000 nsec | Bps: 108159382 | wps: 13519923 {ConcurrentLinkedQueue}
[ TOTAL] bytes: 12500992000 | delta:117605985000 nsec | Bps: 106295543 | wps: 13286943 {ConsumerProducerQueue}
[ TOTAL] bytes: 12911008256 | delta: 8686817000 nsec | Bps: 1486276073 | wps: 185784509 {TcpQueueBase}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment